Elgg  Version master
Variables
plugin_settings.php File Reference

Go to the source code of this file.

Variables

 $plugin_id = (string) elgg_extract('plugin_id', $vars)
 
 $plugin = elgg_get_plugin_from_id($plugin_id)
 
if(!$plugin instanceof\ElggPlugin) if(!elgg_view_exists("plugins/{$plugin_id}/settings")) $title = elgg_echo('admin:plugin_settings') . ': ' . $plugin->getDisplayName()
 
 $content
 
if(empty($content)) $body
 

Variable Documentation

if (empty($content)) $body
Initial value:
= elgg_view_layout('admin', [
'title' => $title,
'content' => $content,
'filter_id' => 'admin/plugin_settings',
'filter_value' => $plugin_id,
])
elgg_view_layout(string $layout_name, array $vars=[])
Displays a layout with optional parameters.
Definition: views.php:352
$plugin_id
if(!$plugin instanceof\ElggPlugin) if(!elgg_view_exists("plugins/{$plugin_id}/settings")) $title
$content

Definition at line 37 of file plugin_settings.php.

$content
Initial value:
= elgg_view('admin/plugin_settings', [
'entity' => $plugin,
])
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$plugin
Elgg plugin settings.

Definition at line 28 of file plugin_settings.php.

$plugin = elgg_get_plugin_from_id($plugin_id)

Definition at line 16 of file plugin_settings.php.

$plugin_id = (string) elgg_extract('plugin_id', $vars)

Definition at line 14 of file plugin_settings.php.

if (!$plugin instanceof\ElggPlugin) if (!elgg_view_exists("plugins/{$plugin_id}/settings")) $title = elgg_echo('admin:plugin_settings') . ': ' . $plugin->getDisplayName()

Definition at line 26 of file plugin_settings.php.