function ConfigEntityBase::save

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::save()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::save()
  3. 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::save()

Overrides EntityBase::save

3 calls to ConfigEntityBase::save()
ImageStyle::deleteImageEffect in core/modules/image/src/Entity/ImageStyle.php
Deletes an image effect from this style.
LayoutBuilderEntityViewDisplay::save in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Saves an entity permanently.
Menu::save in core/modules/system/src/Entity/Menu.php
Saves an entity permanently.
2 methods override ConfigEntityBase::save()
LayoutBuilderEntityViewDisplay::save in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Saves an entity permanently.
Menu::save in core/modules/system/src/Entity/Menu.php
Saves an entity permanently.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 613

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function save() {
    $return = parent::save();
    $this->trustedData = FALSE;
    return $return;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.