You are here

function hook_pathauto_entity_alias_settings_alter in Pathauto Entity 7

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.

1 invocation of hook_pathauto_entity_alias_settings_alter()
pathauto_entity_alias_settings in ./pathauto_entity.module
All modules to add URL Settings to Entity form.

File

./pathauto_entity.api.php, line 21
Documentation for pathauto_entity API.

Code

function hook_pathauto_entity_alias_settings_alter(&$entity_forms) {
  $entity_forms += array(
    'entity_type' => 'form_id',
    'entity_type' => 'form_id',
  );
}