Email::EMAIL_MAX_LENGTH

Defines the max length for an email address The maximum length of an email address is 254 characters. RFC 3696 specifies a total length of 320 characters, but mentions that addresses longer than 256 characters are not normally useful. Erratum 1690 was then released which corrected this value to 254 characters. See also http://tools.ietf.org/html/rfc3696#section-3 http://www.rfc-editor.org/errata_search.php?rfc=3696&eid=1690 File core/lib/Drupal/Core/Render/Element/Email.php, line 38 Cla

Block::$visibilityCollection

The visibility collection. Type: \Drupal\Core\Condition\ConditionPluginCollection File core/modules/block/src/Entity/Block.php, line 115 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code protected $visibilityCollection;

StatementPrefetch::fetch

public StatementPrefetch::fetch($fetch_style = NULL, $cursor_orientation = \PDO::FETCH_ORI_NEXT, $cursor_offset = NULL) Fetches the next row from a result set. See http://php.net/manual/pdo.constants.php for the definition of the constants used. Parameters $mode: One of the PDO::FETCH_* constants. Default to what was specified by setFetchMode(). $cursor_orientation: Not implemented in all database drivers, don't use. $cursor_offset: Not implemented in all database drivers, don't use. Return va

ImageEffectBase::transformDimensions

public ImageEffectBase::transformDimensions(array &$dimensions, $uri) Determines the dimensions of the styled image. Parameters array &$dimensions: Dimensions to be modified - an array with the following keys: width: the width in pixels, or NULL if unknown height: the height in pixels, or NULL if unknown When either of the dimensions are NULL, the corresponding HTML attribute will be omitted when an image style using this image effect is used. string $uri: Original image file URI.

Condition::condition

public Condition::condition($field, $value = NULL, $operator = '=') Helper function: builds the most common conditional clauses. This method can take a variable number of parameters. If called with two parameters, they are taken as $field and $value with $operator having a value of =. Do not use this method to test for NULL values. Instead, use QueryConditionInterface::isNull() or QueryConditionInterface::isNotNull(). Drupal considers LIKE case insensitive and the following is often used to tel

UserLoginForm::$userStorage

The user storage. Type: \Drupal\user\UserStorageInterface File core/modules/user/src/Form/UserLoginForm.php, line 30 Class UserLoginForm Provides a user login form. Namespace Drupal\user\Form Code protected $userStorage;

RedirectDestinationInterface::getAsArray

public RedirectDestinationInterface::getAsArray() Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. Used to direct the user back to the referring page after completing a form. By default the current URL is returned. If a destination exists in the current request, that destination is returned. As such, a destination can persist across multiple pages. Return value array An associative array containing the key: destination: The value of the current request's 'destinatio

EntityViewDisplay::__construct

public EntityViewDisplay::__construct(array $values, $entity_type) Constructs an Entity object. Parameters array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. string $entity_type: The type of the entity to create. Overrides EntityDisplayBase::__construct File core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php, line 169 Class EntityViewDisplay Configuration entity that contains display options for all c

BlockListBuilder::render

public BlockListBuilder::render($theme = NULL, Request $request = NULL) Parameters string|null $theme: (optional) The theme to display the blocks for. If NULL, the current theme will be used. \Symfony\Component\HttpFoundation\Request $request: The current request. Return value array The block list as a renderable array. Overrides EntityListBuilder::render File core/modules/block/src/BlockListBuilder.php, line 102 Class BlockListBuilder Defines a class to build a listing of block entities

RouteProcessorCsrf::processOutbound

public RouteProcessorCsrf::processOutbound($route_name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL) Processes the outbound route. Parameters string $route_name: The route name. \Symfony\Component\Routing\Route $route: The outbound route to process. array $parameters: An array of parameters to be passed to the route compiler. Passed by reference. \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata: (optional) Object to collect route processors'