You are here

public function FieldableEntityInterface::isValidationRequired in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/FieldableEntityInterface.php \Drupal\Core\Entity\FieldableEntityInterface::isValidationRequired()
  2. 10 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.

1 method overrides FieldableEntityInterface::isValidationRequired()
ContentEntityBase::isValidationRequired in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Checks whether entity validation is required before saving the entity.

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();