public StorableConfigBase::initWithData(array $data)
Initializes a configuration object with pre-loaded data.
array $data: Array of loaded data for this configuration object.
$this The configuration object.
public function initWithData(array $data) { $this->isNew = FALSE; $this->data = $data; $this->originalData = $this->data; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorableConfigBase.php/function/StorableConfigBase::initWithData/8.1.x