You are here

public function TypeGroupPermissions::permissions in Booking and Availability Management Tools for Drupal 8

Returns an array of filter permissions.

Return value

array

1 string reference to 'TypeGroupPermissions::permissions'
bat.permissions.yml in ./bat.permissions.yml
bat.permissions.yml

File

src/TypeGroupPermissions.php, line 51
Contains \Drupal\bat\TypeGroupPermissions.

Class

TypeGroupPermissions

Namespace

Drupal\bat

Code

public function permissions() {
  $permissions = [];
  return $permissions + bat_entity_access_permissions('bat_type_group');
}