Unverified Commit 5a83be42 authored by alexpott's avatar alexpott

Issue #3014669 by kalyansamanta, govind.maloo, msankhala, hardikpandya,...

Issue #3014669 by kalyansamanta, govind.maloo, msankhala, hardikpandya, joachim, awangsetyawan: return value for hook_entity_bundle_info() doesn't mark 'uri_callback' as optional
parent cee4a5c9
...@@ -812,10 +812,10 @@ function hook_entity_view_mode_info_alter(&$view_modes) { ...@@ -812,10 +812,10 @@ function hook_entity_view_mode_info_alter(&$view_modes) {
* An associative array of all entity bundles, keyed by the entity * An associative array of all entity bundles, keyed by the entity
* type name, and then the bundle name, with the following keys: * type name, and then the bundle name, with the following keys:
* - label: The human-readable name of the bundle. * - label: The human-readable name of the bundle.
* - uri_callback: The same as the 'uri_callback' key defined for the entity * - uri_callback: (optional) The same as the 'uri_callback' key defined for
* type in the EntityManager, but for the bundle only. When determining * the entity type in the EntityManager, but for the bundle only. When
* the URI of an entity, if a 'uri_callback' is defined for both the * determining the URI of an entity, if a 'uri_callback' is defined for both
* entity type and the bundle, the one for the bundle is used. * the entity type and the bundle, the one for the bundle is used.
* - translatable: (optional) A boolean value specifying whether this bundle * - translatable: (optional) A boolean value specifying whether this bundle
* has translation support enabled. Defaults to FALSE. * has translation support enabled. Defaults to FALSE.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment