public function ThemeSettings::setData

Replaces the data of this theme settings object.

Parameters

array $data: The new theme settings data.

Return value

\Drupal\Core\Theme\ThemeSettings The theme settings object.

File

drupal/core/lib/Drupal/Core/Theme/ThemeSettings.php, line 98
Contains \Drupal\Core\Theme\ThemeSettings.

Class

ThemeSettings
Defines the default theme settings object.

Namespace

Drupal\Core\Theme

Code

public function setData(array $data) {
  $this->data = $data;
  return $this;
}