public static function PathBreadcrumbsUIAutocomplete::addSiteMetadata in Path Breadcrumbs 7.3
Add metadata for 'site' entity type.
Parameters
EntityMetadataWrapper $wrapper:
$property_info:
Return value
mixed
File
- path_breadcrumbs_ui/
includes/ path_breadcrumbs_ui.autocomplete.inc, line 266 - Path breadcrumbs UI autocomplete.
Class
- PathBreadcrumbsUIAutocomplete
- @file Path breadcrumbs UI autocomplete.
Code
public static function addSiteMetadata(EntityMetadataWrapper $wrapper, $property_info) {
$site_info = entity_get_property_info('site');
$property_info['properties'] += $site_info['properties'];
return $property_info;
}