ContentEntityBase::isValidationRequired

public 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 380

Class

ContentEntityBase
Implements Entity Field API specific enhancements to the Entity class.

Namespace

Drupal\Core\Entity

Code

public function isValidationRequired() {
  return (bool) $this->validationRequired;
}
doc_Drupal
2016-10-29 08:56:59
Comments
Leave a Comment

Please login to continue.