Elgg  Version 5.1
edit.php
Go to the documentation of this file.
1 <?php
6 echo elgg_view('object/widget/edit/num_display', [
7  'entity' => elgg_extract('entity', $vars),
8  'default' => 4,
9 ]);
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:177
$vars
Definition: theme.php:5