FieldConfigInterface

Provides an interface defining a field entity. Hierarchy interface \Drupal\Core\Config\Entity\ConfigEntityInterface; interface \Drupal\Core\Field\FieldDefinitionInterfaceinterface \Drupal\field\FieldConfigInterface File core/modules/field/src/FieldConfigInterface.php, line 11 Namespace Drupal\field Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. CacheableDependencyInterface::getCacheContexts public func

BlockListBuilder::__construct

public BlockListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ThemeManagerInterface $theme_manager, FormBuilderInterface $form_builder) Constructs a new BlockListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager. \Drupal\Core\Form\FormBuilderI

NegotiationUrlForm

Configure the URL language negotiation method for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\language\Form\NegotiationUrlForm File core/modules/language/src/Form/NegotiationUrlForm.php, line 16 Namespace Dr

ViewsRow::$title

The plugin title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsRow.php, line 30 Class ViewsRow Defines a Plugin annotation object for views row plugins. Namespace Drupal\views\Annotation Code public $title = '';

_drupal_log_error

_drupal_log_error($error, $fatal = FALSE) Logs a PHP error or exception and displays an error page in fatal cases. Parameters $error: An array with the following keys: %type, @message, %function, %file, %line, @backtrace_string, severity_level, and backtrace. All the parameters are plain-text, with the exception of @message, which needs to be an HTML string, and backtrace, which is a standard PHP backtrace. bool $fatal: TRUE for: An exception is thrown and not caught by something else. A recov

Config::getRawData

public Config::getRawData() Gets the raw data without overrides. Return value array The raw data. File core/lib/Drupal/Core/Config/Config.php, line 258 Class Config Defines the default configuration object. Namespace Drupal\Core\Config Code public function getRawData() { return $this->data; }

Locking mechanisms

Functions to coordinate long-running operations across requests. In most environments, multiple Drupal page requests (a.k.a. threads or processes) will execute in parallel. This leads to potential conflicts or race conditions when two requests execute the same code at the same time. For instance, some implementations of hook_cron() implicitly assume they are running only once, rather than having multiple calls in parallel. To prevent problems with such code, the cron system uses a locking proce

MimeTypeGuesser::$streamWrapperManager

The stream wrapper manager. Type: \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface File core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php, line 39 Class MimeTypeGuesser Defines a MIME type guesser that also supports stream wrapper paths. Namespace Drupal\Core\File\MimeType Code protected $streamWrapperManager;

PHP wrapper functions

Functions that are wrappers or custom implementations of PHP functions. Certain PHP functions should not be used in Drupal. Instead, Drupal's replacement functions should be used. For example, for improved or more secure UTF8-handling, or RFC-compliant handling of URLs in Drupal. For ease of use and memorizing, all these wrapper functions use the same name as the original PHP function, but prefixed with "drupal_". Beware, however, that not all wrapper functions support the same arguments as the

Config::setOverriddenData

protected Config::setOverriddenData() Sets the current data for this configuration object. Configuration overrides operate at two distinct layers: modules and settings.php. Overrides in settings.php take precedence over values provided by modules. Precedence or different module overrides is determined by the priority of the config.factory.override tagged services. Return value \Drupal\Core\Config\Config The configuration object. File core/lib/Drupal/Core/Config/Config.php, line 155 Class C