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

Checks whether entity validation is required before saving the entity.

Return value

bool TRUE if validation is required, FALSE if not.

File

core/lib/Drupal/Core/Entity/FieldableEntityInterface.php, line 227

Class

FieldableEntityInterface
Interface for entities having fields.

Namespace

Drupal\Core\Entity

Code

public function isValidationRequired();