You are here

public function GroupContentEnablerBase::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.

Overrides GroupContentEnablerInterface::getOperations

File

src/Plugin/GroupContentEnablerBase.php, line 212

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

public function getOperations() {
  return [];
}