forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
22 lines
377 B
PHP
22 lines
377 B
PHP
<?php
|
|
|
|
/**
|
|
* @file
|
|
* Hooks specific to the AddToAny module.
|
|
*/
|
|
|
|
/**
|
|
* Alter the entity types that the AddToAny pseudo-field is available for.
|
|
*
|
|
* @param array $types
|
|
* The entity types.
|
|
*/
|
|
function hook_addtoany_entity_types_alter(array &$types) {
|
|
// Add the "taxonomy_term" entity type.
|
|
$types[] = 'taxonomy_term';
|
|
}
|
|
|
|
/**
|
|
* @} End of "addtogroup addtoany".
|
|
*/
|