You are here

protected function GroupContentMenu::getTargetEntityPermissions in Group Content Menu 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.

Overrides GroupContentEnablerBase::getTargetEntityPermissions

Deprecated

in Group 1.0, will be removed before Group 2.0.

See also

GroupContentEnablerInterface::getPermissions()

File

src/Plugin/GroupContentEnabler/GroupContentMenu.php, line 137

Class

GroupContentMenu
Provides a content enabler for group menus.

Namespace

Drupal\group_content_menu\Plugin\GroupContentEnabler

Code

protected function getTargetEntityPermissions() {

  // No special permissions.
  return [];
}