yamaps_example_feature.strongarm.inc in Yandex.Maps 7
Exports Drupal variables.
File
modules/yamaps_example_feature/yamaps_example_feature.strongarm.incView source
<?php
/**
* @file
* Exports Drupal variables.
*/
/**
* Implements hook_strongarm().
*/
function yamaps_example_feature_strongarm() {
$export = [];
$strongarm = new stdClass();
$strongarm->disabled = FALSE;
/* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__yandex_maps_example';
$strongarm->value = [
'view_modes' => [
'teaser' => [
'custom_settings' => TRUE,
],
'full' => [
'custom_settings' => FALSE,
],
'rss' => [
'custom_settings' => FALSE,
],
'token' => [
'custom_settings' => FALSE,
],
],
'extra_fields' => [
'form' => [
'title' => [
'weight' => '0',
],
'path' => [
'weight' => '3',
],
],
'display' => [],
],
];
$export['field_bundle_settings_node__yandex_maps_example'] = $strongarm;
return $export;
}
Functions
Name | Description |
---|---|
yamaps_example_feature_strongarm | Implements hook_strongarm(). |