public function GroupRelationBase::getOperations in Group 2.0.x
Provides a list of operations for the group relation 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.
Overrides GroupRelationInterface::getOperations
File
- src/
Plugin/ Group/ Relation/ GroupRelationBase.php, line 209
Class
- GroupRelationBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getOperations() {
return [];
}