You are here

protected function GroupContentEnablerBase::getTargetEntityPermissions in Group 8

Provides permissions for the actual entity being added to the group.

Return value

array An array of group permissions, see ::getPermissions for more info.

Deprecated

in Group 1.0, will be removed before Group 2.0.

See also

GroupContentEnablerInterface::getPermissions()

1 call to GroupContentEnablerBase::getTargetEntityPermissions()
GroupContentEnablerBase::getPermissions in src/Plugin/GroupContentEnablerBase.php
Provides a list of group permissions the plugin exposes.

File

src/Plugin/GroupContentEnablerBase.php, line 240

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

protected function getTargetEntityPermissions() {
  return $this->_permissions;
}