TypedDataInterface::getString

public TypedDataInterface::getString() Returns a string representation of the data. Return value string File core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 72 Class TypedDataInterface Interface for typed data objects. Namespace Drupal\Core\TypedData Code public function getString();

EntityConfirmFormBase::buildForm

public EntityConfirmFormBase::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides EntityForm::buildForm File core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 54 Class EntityConfirmFormBase Provides a generic base class for an entity-based confirma

AggregatorItemViewsData::getViewsData

public AggregatorItemViewsData::getViewsData() Returns views data for the entity type. Return value array Views data in the format of hook_views_data(). Overrides EntityViewsData::getViewsData File core/modules/aggregator/src/AggregatorItemViewsData.php, line 15 Class AggregatorItemViewsData Provides the views data for the aggregator item entity type. Namespace Drupal\aggregator Code public function getViewsData() { $data = parent::getViewsData(); $data['aggregator_item']['table'

EntityFormModeListBuilder::isValidEntity

protected EntityFormModeListBuilder::isValidEntity($entity_type) Filters entities based on their form mode handlers. Parameters $entity_type: The entity type of the entity that needs to be validated. Return value bool TRUE if the entity has any forms, FALSE otherwise. Overrides EntityDisplayModeListBuilder::isValidEntity File core/modules/field_ui/src/EntityFormModeListBuilder.php, line 21 Class EntityFormModeListBuilder Defines a class to build a listing of form mode entities. Namespa

Settings

Read only settings that are initialized with the class. Hierarchy class \Drupal\Core\Site\Settings Related topics Utility classes and functions Overview of utility classes and functions for developers. File core/lib/Drupal/Core/Site/Settings.php, line 13 Namespace Drupal\Core\Site Members Name Modifiers Type Description Settings::$instance private static property Singleton instance. Settings::$storage private property Array with the settings. Settings::get

BackendChain::invalidateAll

public BackendChain::invalidateAll() Marks all cache items as invalid. Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE. Overrides CacheBackendInterface::invalidateAll See also \Drupal\Core\Cache\CacheBackendInterface::deleteAll() \Drupal\Core\Cache\CacheBackendInterface::invalidate() \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() File core/lib/Drupal/Core/Cache/BackendChain.php, line 198 Class BackendChain Defines a chained cac

Cron::$state

The state service. Type: \Drupal\Core\State\StateInterface File core/lib/Drupal/Core/Cron.php, line 48 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected $state;

BreadcrumbManager::applies

public BreadcrumbManager::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 65 Class BreadcrumbManager Provides a breadcrumb manager.

ConfigEntityStorage::updateFromStorageRecord

public ConfigEntityStorage::updateFromStorageRecord(ConfigEntityInterface $entity, array $values) Updates a configuration entity from storage values. Allows the configuration entity storage to massage storage values before updating an entity. Parameters ConfigEntityInterface $entity: The configuration entity to update. array $values: The array of values from the configuration storage. Return value ConfigEntityInterface The configuration entity. Overrides ConfigEntityStorageInterface::updateFr

CacheCollector::$storage

Storage for the data itself. Type: array File core/lib/Drupal/Core/Cache/CacheCollector.php, line 73 Class CacheCollector Default implementation for CacheCollectorInterface. Namespace Drupal\Core\Cache Code protected $storage = array();