HttpExceptionSubscriberBase::getHandledFormats

abstract protected HttpExceptionSubscriberBase::getHandledFormats() Specifies the request formats this subscriber will respond to. Return value array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats. See also \Symfony\Component\HttpFoundation\Request File core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 59 Class HttpExceptionSubscriberBase Utili

ChainResponsePolicyInterface::addPolicy

public ChainResponsePolicyInterface::addPolicy(ResponsePolicyInterface $policy) Add a policy to the list of policy rules. Parameters \Drupal\Core\PageCache\ResponsePolicyInterface $policy: The request policy rule to add. Return value $this File core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.php, line 18 Class ChainResponsePolicyInterface Defines the interface for compound request policies. Namespace Drupal\Core\PageCache Code public function addPolicy(ResponsePolicyInter

ThemeSettingsForm::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/system/src/Form/ThemeSettingsForm.php, line 33 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code protected $themeHandler;

StreamWrapperInterface

Defines a Drupal stream wrapper extension. Provides a Drupal interface and classes to implement PHP stream wrappers for public, private, and temporary files. Extends the StreamWrapperInterface with methods expected by Drupal stream wrapper classes. A stream wrapper is an abstraction of a file system that allows Drupal to use the same set of methods to access both local files and remote resources. Note that PHP 5.2 fopen() only supports URIs of the form "scheme://target" despite the fact that ac

FieldStorageConfig::getMainPropertyName

public FieldStorageConfig::getMainPropertyName() Returns the name of the main property, if any. Some field items consist mainly of one main property, e.g. the value of a text field or the target_id of an entity reference. If the field item has no main property, the method returns NULL. Return value string|null The name of the value property, or NULL if there is none. Overrides FieldStorageDefinitionInterface::getMainPropertyName File core/modules/field/src/Entity/FieldStorageConfig.php, line

EntityTypeInterface::getDataTable

public EntityTypeInterface::getDataTable() Gets the name of the entity's data table. @todo Used by SqlContentEntityStorage only. Return value string|null The name of the entity type's data table, or NULL if none exists. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 612 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getDataTable();

Schema::getFieldTypeMap

Schema::getFieldTypeMap() This maps a generic data type in combination with its data size to the engine-specific data type. Overrides Schema::getFieldTypeMap File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 364 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code function getFieldTypeMap() { // Put :normal last so it gets preserved by array_flip. This makes // it much easier for modules (such as sch

KeyValueDatabaseFactory

Defines the key/value store factory for the database backend. Hierarchy class \Drupal\Core\KeyValueStore\KeyValueDatabaseFactory implements KeyValueFactoryInterface File core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php, line 11 Namespace Drupal\Core\KeyValueStore Members Name Modifiers Type Description KeyValueDatabaseFactory::$connection protected property The database connection to use. KeyValueDatabaseFactory::$serializer protected property The s

LocalStream::$context

Stream context resource. Type: resource File core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 22 Class LocalStream Defines a Drupal stream wrapper base class for local files. Namespace Drupal\Core\StreamWrapper Code public $context;

CurrentRouteMatch::$requestStack

The related request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Routing/CurrentRouteMatch.php, line 18 Class CurrentRouteMatch Default object for current_route_match service. Namespace Drupal\Core\Routing Code protected $requestStack;