public function EntityTyp8b7c:f320:99b9:690f:4595:cd17:293a:c069getConstraints public EntityTyp8b7c:f320:99b9:690f:4595:cd17:293a:c069getConstraints() Gets an array of validation constraints. See \Drupal\Core\TypedData\DataDefinitionInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getConstraints() for details on how constraints are defined. Return value  array[] An array of validation constraint definitions, keyed by constraint name. Each constraint definition can be used for instantiating \Symfony\Component\Validator\Constraint objects. Overrides EntityTypeInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getConstraints See also  \Symfony\Component\Validator\Constraint File
 core/lib/Drupal/Core/Entity/EntityType.php, line 838  Class
 
EntityType  Provides an implementation of an entity type and its metadata.  Namespace Drupal\Core\Entity Code public function getConstraints() {
  return $this->constraints;
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-entity-entitytype.php/function/entitytype-getconstraints/8.1.x.html', 'source': 'DevDocs.IO'}