View source
<?php
function feature_variables_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array(
"version" => "1",
);
}
}
function feature_variables_views_api($module = NULL, $api = NULL) {
return array(
"api" => "3.0",
);
}
function feature_variables_custom_breadcrumbs_paths_features_default_settings() {
$custom_breadcrumbs = array();
$custom_breadcrumbs['about_us'] = array(
'name' => 'About us',
'titles' => 'Home
About us',
'paths' => 'home
about-us',
'visibility_php' => '',
'specific_path' => 'about-us',
'language' => '',
'machine_name' => 'about_us',
);
$custom_breadcrumbs['contacts'] = array(
'name' => 'Contacts',
'titles' => 'Home
Contacts',
'paths' => 'home
contact-us',
'visibility_php' => '',
'specific_path' => 'contact-us',
'language' => '',
'machine_name' => 'contacts',
);
return $custom_breadcrumbs;
}
function feature_variables_custom_breadcrumbs_views_features_default_settings() {
$custom_breadcrumbs = array();
$custom_breadcrumbs['blog'] = array(
'name' => 'Blog',
'titles' => '[variable:custom_breadcrumb_home]
Blog',
'paths' => 'home
blog',
'visibility_php' => '',
'views_path' => 'blog',
'language' => '',
'machine_name' => 'blog',
);
$custom_breadcrumbs['portfolio'] = array(
'name' => 'Portfolio',
'titles' => '[variable:custom_breadcrumb_home]
Portfolio',
'paths' => 'home
portfolio',
'visibility_php' => '',
'views_path' => 'portfolio',
'language' => '',
'machine_name' => 'portfolio',
);
return $custom_breadcrumbs;
}
function feature_variables_fe_date_custom_date_formats() {
$custom_date_formats = array();
$custom_date_formats['F d, Y'] = 'F d, Y';
return $custom_date_formats;
}
function feature_variables_date_format_types() {
$format_types = array();
$format_types['blog_'] = 'Blog';
$format_types['portfolio'] = 'Portfolio';
return $format_types;
}