You are here

public function FieldableEdgeEntityBase::setValidationRequired in Apigee Edge 8

Sets whether entity validation is required before saving the entity.

Parameters

bool $required: TRUE if validation is required, FALSE otherwise.

Return value

$this

Overrides FieldableEntityInterface::setValidationRequired

File

src/Entity/FieldableEdgeEntityBase.php, line 378

Class

FieldableEdgeEntityBase
Base field support for Apigee Entities without making them content entities.

Namespace

Drupal\apigee_edge\Entity

Code

public function setValidationRequired($required) {
  $this->validationRequired = $required;
  return $this;
}