public function GroupRelationInterface::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.
1 method overrides GroupRelationInterface::getOperations()
- GroupRelationBase::getOperations in src/
Plugin/ Group/ Relation/ GroupRelationBase.php - Provides a list of operations for the group relation plugin.
File
- src/
Plugin/ Group/ Relation/ GroupRelationInterface.php, line 225
Class
- GroupRelationInterface
- Defines an interface for pluggable GroupRelation back-ends.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getOperations();