public function GroupContentEnablerInterface::getOperations in Group 8
Provides a list of operations for the content enabler plugin.
These operations will be merged with the ones already available on the group type content configuration page: (un)install, manage fields, etc.
Return value
array An associative array of operation links to show on the group type content administration UI, keyed by operation name, containing the following key-value pairs:
- title: The localized title of the operation.
- url: An instance of \Drupal\Core\Url for the operation URL.
- weight: The weight of this operation.
1 method overrides GroupContentEnablerInterface::getOperations()
- GroupContentEnablerBase::getOperations in src/
Plugin/ GroupContentEnablerBase.php - Provides a list of operations for the content enabler plugin.
File
- src/
Plugin/ GroupContentEnablerInterface.php, line 226
Class
- GroupContentEnablerInterface
- Defines an interface for pluggable GroupContentEnabler back-ends.
Namespace
Drupal\group\PluginCode
public function getOperations();