rh_group.module in Rabbit Hole 8
Same filename and directory in other branches
Contains rh_group.module.
File
modules/rh_group/rh_group.moduleView source
<?php
/**
* @file
* Contains rh_group.module.
*/
use Drupal\Core\Entity\EntityTypeInterface;
/**
* Implements hook_entity_base_field_info().
*/
function rh_group_entity_base_field_info(EntityTypeInterface $entity_type) {
if ($entity_type
->id() == 'group') {
return \Drupal::service('rabbit_hole.entity_extender')
->getRabbitHoleFields('group');
}
}
Functions
Name | Description |
---|---|
rh_group_entity_base_field_info | Implements hook_entity_base_field_info(). |