merged features sudmodule
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_administration_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function materio_administration_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.menu_custom.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_custom().
|
||||
*/
|
||||
function materio_administration_menu_default_menu_custom() {
|
||||
$menus = array();
|
||||
|
||||
// Exported menu: navigation.
|
||||
$menus['navigation'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'title' => 'Navigation',
|
||||
'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.',
|
||||
'language' => 'und',
|
||||
'i18n_mode' => 0,
|
||||
);
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Navigation');
|
||||
t('The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.');
|
||||
|
||||
|
||||
return $menus;
|
||||
}
|
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.menu_links.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_links().
|
||||
*/
|
||||
function materio_administration_menu_default_menu_links() {
|
||||
$menu_links = array();
|
||||
|
||||
// Exported menu link: navigation_:materio_search_api_ajax/actuality
|
||||
$menu_links['navigation_:materio_search_api_ajax/actuality'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'link_path' => 'materio_search_api_ajax/actuality',
|
||||
'router_path' => 'materio_search_api_ajax/actuality',
|
||||
'link_title' => '',
|
||||
'options' => array(
|
||||
'identifier' => 'navigation_:materio_search_api_ajax/actuality',
|
||||
),
|
||||
'module' => 'system',
|
||||
'hidden' => 0,
|
||||
'external' => 0,
|
||||
'has_children' => 0,
|
||||
'expanded' => 0,
|
||||
'weight' => -45,
|
||||
'customized' => 1,
|
||||
);
|
||||
|
||||
|
||||
return $menu_links;
|
||||
}
|
@@ -0,0 +1,42 @@
|
||||
name = Materio Administration
|
||||
core = 7.x
|
||||
package = Materio
|
||||
dependencies[] = features
|
||||
dependencies[] = menu
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = views_bulk_operations
|
||||
dependencies[] = views_data_export
|
||||
dependencies[] = workflow_actions
|
||||
dependencies[] = workflow_views
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:2
|
||||
features[menu_custom][] = navigation
|
||||
features[menu_links][] = navigation_:materio_search_api_ajax/actuality
|
||||
features[variable][] = editmenu_cache_menu
|
||||
features[variable][] = editmenu_css_error
|
||||
features[variable][] = editmenu_css_filename
|
||||
features[variable][] = editmenu_detect_popup
|
||||
features[variable][] = editmenu_dropdown_zindex
|
||||
features[variable][] = editmenu_effect
|
||||
features[variable][] = editmenu_effect_speed
|
||||
features[variable][] = editmenu_element
|
||||
features[variable][] = editmenu_element_method
|
||||
features[variable][] = editmenu_exclusions
|
||||
features[variable][] = editmenu_fix
|
||||
features[variable][] = editmenu_hide_delay
|
||||
features[variable][] = editmenu_menu
|
||||
features[variable][] = editmenu_menu_scope
|
||||
features[variable][] = editmenu_menubar_zindex
|
||||
features[variable][] = editmenu_running
|
||||
features[variable][] = editmenu_superfish_version
|
||||
features[variable][] = editmenu_theme
|
||||
features[variable][] = editmenu_uid1
|
||||
features[variable][] = editmenu_visibility_operator
|
||||
features[variable][] = editmenu_visibility_pages
|
||||
features[views_view][] = admin_content_node
|
||||
features[views_view][] = admin_contents
|
||||
features[views_view][] = admin_peoples
|
||||
features[views_view][] = taxonomy_companies_manager
|
||||
features_exclude[dependencies][views] = views
|
||||
project path = sites/all/modules/features
|
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio Administration feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_administration.features.inc';
|
@@ -0,0 +1,173 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function materio_administration_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_cache_menu';
|
||||
$strongarm->value = 0;
|
||||
$export['editmenu_cache_menu'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_css_error';
|
||||
$strongarm->value = 1333478060;
|
||||
$export['editmenu_css_error'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_css_filename';
|
||||
$strongarm->value = '';
|
||||
$export['editmenu_css_filename'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_detect_popup';
|
||||
$strongarm->value = 1;
|
||||
$export['editmenu_detect_popup'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_dropdown_zindex';
|
||||
$strongarm->value = '9999';
|
||||
$export['editmenu_dropdown_zindex'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_effect';
|
||||
$strongarm->value = 'opacity';
|
||||
$export['editmenu_effect'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_effect_speed';
|
||||
$strongarm->value = 'fast';
|
||||
$export['editmenu_effect_speed'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_element';
|
||||
$strongarm->value = 'body';
|
||||
$export['editmenu_element'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_element_method';
|
||||
$strongarm->value = 'prepend';
|
||||
$export['editmenu_element_method'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_exclusions';
|
||||
$strongarm->value = array(
|
||||
'adaptivetheme_gui_admin' => 0,
|
||||
'adaptivetheme_gui_starter' => 0,
|
||||
'bartik' => 0,
|
||||
'garland' => 0,
|
||||
'gui7' => 0,
|
||||
'guibik' => 0,
|
||||
'inigui' => 0,
|
||||
'rubik' => 0,
|
||||
'seven' => 0,
|
||||
'stark' => 0,
|
||||
'tao' => 0,
|
||||
);
|
||||
$export['editmenu_exclusions'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_fix';
|
||||
$strongarm->value = 'scroll';
|
||||
$export['editmenu_fix'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_hide_delay';
|
||||
$strongarm->value = '800';
|
||||
$export['editmenu_hide_delay'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_menu';
|
||||
$strongarm->value = 'navigation:0';
|
||||
$export['editmenu_menu'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_menubar_zindex';
|
||||
$strongarm->value = '9999';
|
||||
$export['editmenu_menubar_zindex'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_menu_scope';
|
||||
$strongarm->value = 'footer';
|
||||
$export['editmenu_menu_scope'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_running';
|
||||
$strongarm->value = FALSE;
|
||||
$export['editmenu_running'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_superfish_version';
|
||||
$strongarm->value = 'superfish-1.4.1.js';
|
||||
$export['editmenu_superfish_version'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_theme';
|
||||
$strongarm->value = 'gui.net';
|
||||
$export['editmenu_theme'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_uid1';
|
||||
$strongarm->value = 0;
|
||||
$export['editmenu_uid1'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_visibility_operator';
|
||||
$strongarm->value = '0';
|
||||
$export['editmenu_visibility_operator'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'editmenu_visibility_pages';
|
||||
$strongarm->value = '';
|
||||
$export['editmenu_visibility_pages'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user