13 'name' =>
'container_guid',
22 if (
$info ===
false) {
33 if (!empty($entity_type) && !empty($entity_subtype)) {
34 $language_keys[] =
"input:container_guid:{$entity_type}:{$entity_subtype}:info";
37 $language_keys[] =
'input:container_guid:info';
39 foreach ($language_keys as
$key) {
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_get_page_owner_guid()
Elgg page owner library.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
elgg_language_key_exists(string $key, string $language= 'en')
Check if a given language key exists.
get_entity(int $guid)
Loads and returns an entity object from a guid.
if($info===false) $container
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
$options
Entity container guid input.