UserCancelForm

Provides a confirmation form for cancelling user account. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityConfirmFormBase

EntityTypeInfo::create

public static EntityTypeInfo::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service c

ControllerResolver::$httpMessageFactory

The PSR-7 converter. Type: \Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface File core/lib/Drupal/Core/Controller/ControllerResolver.php, line 42 Class ControllerResolver ControllerResolver to enhance controllers beyond Symfony's basic handling. Namespace Drupal\Core\Controller Code protected $httpMessageFactory;

QueryAggregate::notExistsAggregate

public QueryAggregate::notExistsAggregate($field, $function, $langcode = NULL) Queries for the nonexistence of a field. Parameters string $field.: The name of a field. string $function: The aggregate function. string $langcode: (optional) The language code. Return value \Drupal\Core\Entity\Query\QueryAggregateInterface The called object. Overrides QueryAggregateInterface::notExistsAggregate File core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php, line 64 Class QueryAggregate The SQ

Range::getInfo

public Range::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Number::getInfo File core/lib/Drupal/Core/Render/Element/Range.php, line 35 Class Range Provides a slider for input of a number within a specific range. Namespace Drupal\Core\Render\Element Code public

Query::existsAggregate

public Query::existsAggregate($field, $function, $langcode = NULL) Queries for the existence of a field. Parameters string $field: The name of the field. string $function: The aggregate function. $langcode: (optional) The language code. Return value \Drupal\Core\Entity\Query\QueryAggregateInterface The called object. Overrides QueryAggregateInterface::existsAggregate File core/lib/Drupal/Core/Entity/Query/Null/Query.php, line 28 Class Query Defines the entity query for configuration enti

AccessArgumentsResolverFactory

Resolves the arguments to pass to an access check callable. Hierarchy class \Drupal\Core\Access\AccessArgumentsResolverFactory implements AccessArgumentsResolverFactoryInterface File core/lib/Drupal/Core/Access/AccessArgumentsResolverFactory.php, line 13 Namespace Drupal\Core\Access Members Name Modifiers Type Description AccessArgumentsResolverFactory::getArgumentsResolver public function Returns the arguments resolver to use when running access checks. Overrides Access

entity_get_bundles

entity_get_bundles($entity_type = NULL) Returns the entity bundle info. Parameters string|null $entity_type: The entity type whose bundle info should be returned, or NULL for all bundles info. Defaults to NULL. Return value array The bundle info for a specific entity type, or all entity types. Deprecated in Drupal 8.x-dev and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getBundleInfo() for a single bundle, or \Drupal\Core\Entity\EntityTypeBundl

EntityTypeInterface::addConstraint

public EntityTypeInterface::addConstraint($constraint_name, $options = NULL) Adds a validation constraint. See \Drupal\Core\TypedData\DataDefinitionInterface::getConstraints() for details on how constraints are defined. Parameters string $constraint_name: The name of the constraint to add, i.e. its plugin id. array|null $options: The constraint options as required by the constraint plugin, or NULL. Return value $this File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 777 Class

EntityViewDisplay

Configuration entity that contains display options for all components of a rendered entity in a given view mode. Plugin annotation @ConfigEntityType( id = "entity_view_display", label = @Translation("Entity view display"), entity_keys = { "id" = "id", "status" = "status" }, config_export = { "id", "targetEntityType", "bundle", "mode", "content", "hidden", } ) Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheabl