FieldConfig::isDisplayConfigurable

public FieldConfig::isDisplayConfigurable($context) Returns whether the display for the field can be configured. Parameters string $display_context: The display context. Either 'view' or 'form'. Return value bool TRUE if the display for this field is configurable in the given context. If TRUE, the display options returned by getDisplayOptions() may be overridden via the respective entity display. Overrides FieldDefinitionInterface::isDisplayConfigurable See also \Drupal\Core\Entity\Display\E

NullStorageExpirable::deleteAll

public NullStorageExpirable::deleteAll() Deletes all items from the key/value store. Overrides KeyValueStoreInterface::deleteAll File core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php, line 93 Class NullStorageExpirable Defines a null key/value store implementation. Namespace Drupal\Core\KeyValueStore Code public function deleteAll() { }

PathRootsSubscriber::onRouteFinished

public PathRootsSubscriber::onRouteFinished() File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 59 Class PathRootsSubscriber Provides all available first bits of all route paths. Namespace Drupal\Core\EventSubscriber Code public function onRouteFinished() { $this->state->set('router.path_roots', array_keys($this->pathRoots)); $this->pathRoots = []; }

Element::property

public static Element::property($key) Checks if the key is a property. Parameters string $key: The key to check. Return value bool TRUE of the key is a property, FALSE otherwise. File core/lib/Drupal/Core/Render/Element.php, line 26 Class Element Provides helper methods for Drupal render elements. Namespace Drupal\Core\Render Code public static function property($key) { return $key[0] == '#'; }

template_preprocess_datetime_wrapper

template_preprocess_datetime_wrapper(&$variables) Prepares variables for datetime form wrapper templates. Default template: datetime-wrapper.html.twig. Parameters array $variables: An associative array containing: element: An associative array containing the properties of the element. Properties used: #title, #children, #required, #attributes. File core/includes/theme.inc, line 569 The theme system, which controls the output of Drupal. Code function template_preprocess_datetime_wrappe

PermissionHandler::sortPermissions

protected PermissionHandler::sortPermissions(array $all_permissions = array()) Sorts the given permissions by provider name and title. Parameters array $all_permissions: The permissions to be sorted. Return value array[] Each return permission is an array with the following keys: title: The title of the permission. description: The description of the permission, defaults to NULL. provider: The provider of the permission. File core/modules/user/src/PermissionHandler.php, line 201 Class

UriInterface

Interface for URIs. The plain value of a URI is an absolute URI represented as PHP string. Hierarchy interface \Drupal\Core\TypedData\PrimitiveInterfaceinterface \Drupal\Core\TypedData\Type\UriInterface Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/Type/UriInterface.php, line 14 Namespace Drupal\Core\TypedData\Type Members Name Modifiers Type Description PrimitiveInterface::getCastedValue

Drupal::queue

public static Drupal::queue($name, $reliable = FALSE) Returns a queue for the given queue name. The following values can be set in your settings.php file's $settings array to define which services are used for queues: queue_reliable_service_$name: The container service to use for the reliable queue $name. queue_service_$name: The container service to use for the queue $name. queue_default: The container service to use by default for queues without overrides. This defaults to 'queue.database'

PreExistingConfigException::getExtension

public PreExistingConfigException::getExtension() Gets the name of the extension that is being installed. Return value string The name of the extension that is being installed. File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 43 Class PreExistingConfigException An exception thrown if configuration with the same name already exists. Namespace Drupal\Core\Config Code public function getExtension() { return $this->extension; }

StreamWrapperManagerInterface::getDescriptions

public StreamWrapperManagerInterface::getDescriptions($filter = StreamWrapperInterface::ALL) Returns registered stream wrapper descriptions. Parameters int $filter: (Optional) Filters out all types except those with an on bit for each on bit in $filter. For example, if $filter is StreamWrapperInterface::WRITE_VISIBLE, which is equal to (StreamWrapperInterface::READ | StreamWrapperInterface::WRITE | StreamWrapperInterface::VISIBLE), then only stream wrappers with all three of these bits set are