Method |
Description |
|
canEditLayout ( $context, $user_guid ) |
|
|
createWidget ( $owner_guid, $handler, $context, $access_id = null ) |
|
|
getAllTypes ( ) |
|
|
getNameById ( string $id, string $context = '', ElggEntity $container = null ) : string | boolean |
Returns widget name based on id |
|
getTypes ( array $params = [] ) : WidgetDefinition[] |
|
|
getWidgets ( $owner_guid, $context ) |
|
|
registerType ( WidgetDefinition $definition ) : boolean |
|
|
unregisterType ( string $id ) : boolean |
|
|
validateType ( string $id, string $context = null, ElggEntity $container = null ) |
Checks if a widget type exists for a given id |
|