You are here

public function Drupal7Backend::wysiwyg_saveProfile in Configuration Management 7.3

Overrides BackendInterface::wysiwyg_saveProfile

File

src/Backends/Drupal7Backend.php, line 416

Class

Drupal7Backend

Namespace

Configuration\Backends

Code

public function wysiwyg_saveProfile($profile) {
  return db_merge('wysiwyg')
    ->key(array(
    'format' => $profile->format,
  ))
    ->fields(array(
    'format' => $profile->format,
    'editor' => $profile->editor,
    'settings' => serialize($profile->settings),
  ))
    ->execute();
}