You are here

function _path_breadcrumbs_menu_trail_property_defaults in Path Breadcrumbs 7.3

Return default 'path-menu-trail' structure.

1 call to _path_breadcrumbs_menu_trail_property_defaults()
path_breadcrumbs_entity_property_info_alter in ./path_breadcrumbs.info.inc
Implements hook_entity_property_info_alter().

File

./path_breadcrumbs.info.inc, line 143
Contains Entity API hooks and callbacks.

Code

function _path_breadcrumbs_menu_trail_property_defaults() {
  return array(
    'label' => t('Path menu trail'),
    'description' => t('Expands menu trail by path'),
    'getter callback' => 'path_breadcrumbs_entity_get_properties',
    'type' => 'struct',
    'property info' => array(
      'pb_join' => _path_breadcrumbs_pb_join_property_defaults(),
    ),
    'computed' => TRUE,
  );
}