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

Gets whether on not the data is trusted.

Return value

bool TRUE if the configuration data is trusted, FALSE if not.

Overrides ConfigEntityInterface::hasTrustedData

2 calls to ConfigEntityBase::hasTrustedData()
Role::preSave in core/modules/user/src/Entity/Role.php
Acts on an entity before the presave hook is invoked.
View::preSave in core/modules/views/src/Entity/View.php
Acts on an entity before the presave hook is invoked.

File

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

Class

ConfigEntityBase

Namespace

Drupal\Core\Config\Entity

Code

public function hasTrustedData() {
  return $this->trustedData;
}