In trying to use tokens for pathauto using https://www.drupal.org/project/pathauto_entity it tests for 'uri callback' or 'token type'
function pathauto_entity_supported_entity_types() {
...
foreach ($entity_infos as $entity_type => $entity_info) {
if (empty($entity_info['uri callback']) || empty($entity_info['token type'])) {
unset($entity_infos[$entity_type]);
}
}
Adding 'token type' helps generating path alias.
| Comment | File | Size | Author |
|---|---|---|---|
| country-entity-token.patch | 446 bytes | clemens.tolboom |
Comments
Comment #1
webflo commentedThanks, the patch is committed but it did not work because #2464325: make countries available for path alias is not committed yet.
Comment #3
webflo commentedComment #4
clemens.tolboomThanks!