You are here

public function GroupContentEnablerBase::definesEntityAccess in Group 8

Returns whether this plugin defines entity access.

Return value

bool Whether this plugin defines entity access.

Overrides GroupContentEnablerInterface::definesEntityAccess

See also

\Drupal\group\Annotation\GroupContentEnabler::$entity_access

3 calls to GroupContentEnablerBase::definesEntityAccess()
GroupContentEnablerBase::buildConfigurationForm in src/Plugin/GroupContentEnablerBase.php
Form constructor.
GroupContentEnablerBase::createEntityAccess in src/Plugin/GroupContentEnablerBase.php
Performs access check for the create target entity operation.
GroupContentEnablerBase::getPermissions in src/Plugin/GroupContentEnablerBase.php
Provides a list of group permissions the plugin exposes.

File

src/Plugin/GroupContentEnablerBase.php, line 141

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

public function definesEntityAccess() {
  return $this->pluginDefinition['entity_access'];
}