/** * Overrides Drupal\configuration\Config\Configuration::__construct(). */ public function __construct($identifier, $component = '') { // Because CTools can handle multiple types of configurations we need to // know what is the current handled configuration. Usually this component is // the main table where the ctools object lives. $this->component = $component; parent::__construct($identifier, $component); }
/** * Overrides Drupal\configuration\Config\Configuration::__construct(). */ public function __construct($identifier, $component = '') { // Because Entity API can handle multiple types of configurations we need to // know what is the current handled configuration. Usually this component is // the entity type. $this->component = $component; parent::__construct($identifier, $component); }
/** * Overrides Drupal\configuration\Config\Configuration::__construct(). */ function __construct($identifier, $component = '') { parent::__construct($identifier); $keys = array('type', 'name', 'description', 'has_title', 'title_label', 'base', 'help'); $this->setKeysToExport($keys); }
/** * Overrides Drupal\configuration\Config\Configuration::__construct(). */ public function __construct($identifier, $component = '') { $this->variable_name = $identifier; parent::__construct(str_replace(' ', '_', $identifier)); }
/** * Overrides Drupal\configuration\Config\Configuration::__construct(). */ public function __construct($identifier) { parent::__construct($identifier); $keys = array('link_path', 'link_title', 'menu_name', 'weight', 'expanded', 'options', 'router_path', 'parent_identifier'); $this->setKeysToExport($keys); }