$relationship
Relationship summary Passing an 'icon' with the variables will wrap the listing in an image block...
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
if(!$relationship instanceof ElggRelationship) $entity_one
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.
get_entity(int $guid)
Loads and returns an entity object from a guid.
if(!$owner instanceof ElggEntity) $summary
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.