You are here

function hook_datalayer_ENTITY_TYPE_meta in dataLayer 8

Same name and namespace in other branches
  1. 7 datalayer.api.php \hook_datalayer_ENTITY_TYPE_meta()

Provide candidate entity properties for specific entity types.

Related topics

1 function implements hook_datalayer_ENTITY_TYPE_meta()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

datalayer_datalayer_current_user_meta in ./datalayer.module
Implements hook_datalayer_current_user_meta().

File

./datalayer.api.php, line 33
Documentation for the Data Layer module.

Code

function hook_datalayer_ENTITY_TYPE_meta() {

  // EXAMPLE:
  // Add your own entity property to output.
  return [
    'some_property',
  ];
}