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