pathauto_entity.api.php in Pathauto Entity 7
Documentation for pathauto_entity API.
See also
hook_token_info
hook_tokens
File
pathauto_entity.api.phpView source
<?php
/**
* @file
* Documentation for pathauto_entity API.
*
* @see hook_token_info
* @see hook_tokens
*/
/**
* Modify the list of supported entity types.
*/
function hook_pathauto_entity_supported_entity_types_alter(&$entity_infos) {
}
/**
* Allows you to define a key => value array of entity forms.
* This will allow the "URL path settings" to appear on the entity form defined here.
*/
function hook_pathauto_entity_alias_settings_alter(&$entity_forms) {
$entity_forms += array(
'entity_type' => 'form_id',
'entity_type' => 'form_id',
);
}
Functions
Name![]() |
Description |
---|---|
hook_pathauto_entity_alias_settings_alter | Allows you to define a key => value array of entity forms. This will allow the "URL path settings" to appear on the entity form defined here. |
hook_pathauto_entity_supported_entity_types_alter | Modify the list of supported entity types. |