EntityController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line 62 Class EntityController Provides the add-page and title callbacks for entities. Namespace Drupal\Core\Entity\Controller Code protected $renderer;

EntityController::$entityTypeManager

The entity manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line 41 Class EntityController Provides the add-page and title callbacks for entities. Namespace Drupal\Core\Entity\Controller Code protected $entityTypeManager;

EntityController::$entityTypeBundleInfo

The entity type bundle info. Type: \Drupal\Core\Entity\EntityTypeBundleInfoInterface File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line 48 Class EntityController Provides the add-page and title callbacks for entities. Namespace Drupal\Core\Entity\Controller Code protected $entityTypeBundleInfo;

EntityController::$entityRepository

The entity repository. Type: \Drupal\Core\Entity\EntityRepositoryInterface File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line 55 Class EntityController Provides the add-page and title callbacks for entities. Namespace Drupal\Core\Entity\Controller Code protected $entityRepository;

EntityController

Provides the add-page and title callbacks for entities. It provides: The add-page callback. An add title callback for entity types. An add title callback for entity types with bundles. A view title callback. An edit title callback. A delete title callback. Hierarchy class \Drupal\Core\Entity\Controller\EntityController implements ContainerInjectionInterface uses UrlGeneratorTrait, StringTranslationTrait File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line 31 Namespace

EntityConstraintViolationListInterface::getFieldNames

public EntityConstraintViolationListInterface::getFieldNames() Returns the names of all violated fields. Return value string[] An array of field names. File core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 85 Class EntityConstraintViolationListInterface Interface for the result of entity validation. Namespace Drupal\Core\Entity Code public function getFieldNames();

EntityConstraintViolationListInterface::getEntityViolations

public EntityConstraintViolationListInterface::getEntityViolations() Gets violations flagged on entity level, not associated with any field. Return value \Drupal\Core\Entity\EntityConstraintViolationListInterface A list of violations on the entity level. File core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 23 Class EntityConstraintViolationListInterface Interface for the result of entity validation. Namespace Drupal\Core\Entity Code public function getEnti

EntityConstraintViolationListInterface::getEntity

public EntityConstraintViolationListInterface::getEntity() The entity which has been validated. Return value \Drupal\Core\Entity\FieldableEntityInterface The entity object. File core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 93 Class EntityConstraintViolationListInterface Interface for the result of entity validation. Namespace Drupal\Core\Entity Code public function getEntity();

EntityConstraintViolationListInterface::getByFields

public EntityConstraintViolationListInterface::getByFields(array $field_names) Gets the violations of the given fields. When violations should be displayed for a sub-set of visible fields only, this method may be used to filter the set of visible violations first. Parameters string[] $field_names: The names of the fields to get violations for. Return value \Drupal\Core\Entity\EntityConstraintViolationListInterface A list of violations of the given fields. File core/lib/Drupal/Core/Entity/Enti

EntityConstraintViolationListInterface::getByField

public EntityConstraintViolationListInterface::getByField($field_name) Gets the violations of the given field. Parameters string $field_name: The name of the field to get violations for. Return value \Symfony\Component\Validator\ConstraintViolationListInterface The violations of the given field. File core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 34 Class EntityConstraintViolationListInterface Interface for the result of entity validation. Namespace Drupa