AdminHtmlRouteProvider::getAddPageRoute

protected AdminHtmlRouteProvider::getAddPageRoute(EntityTypeInterface $entity_type) Gets the add page route. Built only for entity types that have bundles. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value \Symfony\Component\Routing\Route|null The generated route, if available. Overrides DefaultHtmlRouteProvider::getAddPageRoute File core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php, line 22 Class AdminHtmlRouteProvider Provides H

StatementEmpty::rowCount

public StatementEmpty::rowCount() Returns the number of rows affected by the last SQL statement. Return value The number of rows affected by the last DELETE, INSERT, or UPDATE statement executed or throws \Drupal\Core\Database\RowCountException if the last executed statement was SELECT. Throws \Drupal\Core\Database\RowCountException Overrides StatementInterface::rowCount File core/lib/Drupal/Core/Database/StatementEmpty.php, line 43 Class StatementEmpty Empty implementation of a database

EntityManager::onFieldStorageDefinitionUpdate

public EntityManager::onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 419 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public f

filter_form_access_denied

filter_form_access_denied($element) Render API callback: Hides the field value of 'text_format' elements. To not break form processing and previews if a user does not have access to a stored text format, the expanded form elements in filter_process_format() are forced to take over the stored #default_values for 'value' and 'format'. However, to prevent the unfiltered, original #value from being displayed to the user, we replace it with a friendly notice here. See also filter_process_format() F

MenuLinkContentInterface::requiresRediscovery

public MenuLinkContentInterface::requiresRediscovery() Returns whether the menu link requires rediscovery. If a menu-link points to a user-supplied path such as /blog then the route this resolves to needs to be rediscovered as the module or route providing a given path might change over time. For example: at the time a menu-link is created, the /blog path might be provided by a route in Views module, but later this path may be served by the Panels module. Flagging a link as requiring rediscover

DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldDataMigration

public DynamicallyFieldableEntityStorageSchemaInterface::requiresFieldDataMigration(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Checks if existing data would be lost if the schema changes were applied. If there are no schema changes needed, then no data needs to be migrated, but it is not the responsibility of this function to recheck what requiresFieldStorageSchemaChanges() checks. Rather, the meaning of what this function returns when requir

DefaultHtmlRouteProvider::getEntityTypeIdKeyType

protected DefaultHtmlRouteProvider::getEntityTypeIdKeyType(EntityTypeInterface $entity_type) Gets the type of the ID key for a given entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: An entity type. Return value string|null The type of the ID key for a given entity type, or NULL if the entity type does not support fields. File core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 343 Class DefaultHtmlRouteProvider Provides HTML routes for enti

WidgetBase::getFieldSetting

protected WidgetBase::getFieldSetting($setting_name) Returns the value of a field setting. Parameters string $setting_name: The setting name. Return value mixed The setting value. File core/lib/Drupal/Core/Field/WidgetBase.php, line 528 Class WidgetBase Base class for 'Field widget' plugin implementations. Namespace Drupal\Core\Field Code protected function getFieldSetting($setting_name) { return $this->fieldDefinition->getSetting($setting_name); }

field-ui-table.html.twig

Default theme implementation to display a Field UI table. Available variables: attributes: HTML attributes to apply to the <table> tag. caption: A localized string for the <caption> tag. colgroups: Column groups. Each group contains the following properties: attributes: HTML attributes to apply to the <col> tag. Note: Drupal currently supports only one table header row, see https://www.drupal.org/node/893530 and http://api.drupal.org/api/drupal/includes!theme.inc/function/

UrlGenerator::$routeProcessor

The route processor. Type: \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 46 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code protected $routeProcessor;