public function ContentEntityBase::isValidationRequired in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::isValidationRequired()
Checks whether entity validation is required before saving the entity.
Return value
bool TRUE if validation is required, FALSE if not.
Overrides FieldableEntityInterface::isValidationRequired
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php, line 383 - Contains \Drupal\Core\Entity\ContentEntityBase.
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
public function isValidationRequired() {
return (bool) $this->validationRequired;
}