Files
edlp_d8/sites/all/modules/contrib/fields/addtoany/addtoany.api.php
T
2018-04-25 23:23:03 +02:00

22 lines
371 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(&$types) {
// Add the "taxonomy_term" entity type.
$types[] = 'taxonomy_term';
}
/**
* @} End of "addtogroup addtoany".
*/