Elgg  Version master
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:156
$vars
Definition: theme.php:5