interface GroupCreationEventInterface in Organic groups 8
The group creation event interface.
Hierarchy
- interface \Drupal\og\Event\GroupCreationEventInterface
Expanded class hierarchy of GroupCreationEventInterface
All classes that implement GroupCreationEventInterface
2 files declare their use of GroupCreationEventInterface
- GroupTypeManager.php in src/
GroupTypeManager.php - GroupTypeManagerTest.php in tests/
src/ Unit/ GroupTypeManagerTest.php
File
- src/
Event/ GroupCreationEventInterface.php, line 10
Namespace
Drupal\og\EventView source
interface GroupCreationEventInterface {
/**
* The event name.
*/
const EVENT_NAME = 'og.group_creation';
/**
* Returns the entity type ID of the group to which the permissions apply.
*
* @return string
* The entity type ID.
*/
public function getEntityTypeId();
/**
* Returns the bundle ID of the group to which the permissions apply.
*
* @return string
* The bundle ID.
*/
public function getBundleId();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GroupCreationEventInterface:: |
constant | The event name. | ||
GroupCreationEventInterface:: |
public | function | Returns the bundle ID of the group to which the permissions apply. | 1 |
GroupCreationEventInterface:: |
public | function | Returns the entity type ID of the group to which the permissions apply. | 1 |