LocaleConfigManager::getStringNames

public LocaleConfigManager::getStringNames(array $lids) Gets configuration names associated with strings. Parameters array $lids: Array with string identifiers. Return value array Array of configuration object names. File core/modules/locale/src/LocaleConfigManager.php, line 324 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code public function getStringNames(array $lids) { $names = array(); $locations = $this-

AttachedAssetsInterface::setSettings

public AttachedAssetsInterface::setSettings(array $settings) Sets the JavaScript settings that are attached to the current response. Parameters array $settings: The needed JavaScript settings. Return value $this File core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 55 Class AttachedAssetsInterface The attached assets collection for the current response. Namespace Drupal\Core\Asset Code public function setSettings(array $settings);

ConfigEntityInterface::set

public ConfigEntityInterface::set($property_name, $value) Sets the value of a property. Parameters string $property_name: The name of the property that should be set. mixed $value: The value the property should be set to. Return value $this File core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 137 Class ConfigEntityInterface Defines a common interface for configuration entities. Namespace Drupal\Core\Config\Entity Code public function set($property_name, $value);

NodeAccessControlHandler::writeDefaultGrant

public NodeAccessControlHandler::writeDefaultGrant() Creates the default node access grant entry on the grant storage. Overrides NodeAccessControlHandlerInterface::writeDefaultGrant File core/modules/node/src/NodeAccessControlHandler.php, line 170 Class NodeAccessControlHandler Defines the access control handler for the node entity type. Namespace Drupal\node Code public function writeDefaultGrant() { $this->grantStorage->writeDefault(); }

SessionCacheContext::getLabel

public static SessionCacheContext::getLabel() File core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php, line 17 Class SessionCacheContext Defines the SessionCacheContext service, for "per session" caching. Namespace Drupal\Core\Cache\Context Code public static function getLabel() { return t('Session'); }

LanguageListBuilder::buildRow

public LanguageListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides DraggableListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/language/src/LanguageListBuilder.php, line 103 Class LanguageListBuilder Defines a class to build a

LanguageManagerInterface::getDefinedLanguageTypesInfo

public LanguageManagerInterface::getDefinedLanguageTypesInfo() Returns information about all defined language types. Return value array An associative array of language type information arrays keyed by language type machine name, in the format of hook_language_types_info(). In some implementing classes, this is based on information from hook_language_types_info() and hook_language_types_info_alter(). File core/lib/Drupal/Core/Language/LanguageManagerInterface.php, line 38 Class LanguageMan

ConfigEntityMapper::create

public static ConfigEntityMapper::create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) Creates an instance of the plugin. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The container to pull out services used in the plugin. array $configuration: A configuration array containing information about the plugin instance. string $plugin_id: The plugin ID for the plugin instance. mixed $plugin_definition: The plugin implementati

SharedTempStore::delete

public SharedTempStore::delete($key) Deletes data from the store for a given key and releases the lock on it. Parameters string $key: The key of the data to delete. File core/modules/user/src/SharedTempStore.php, line 232 Class SharedTempStore Stores and retrieves temporary data for a given owner. Namespace Drupal\user Code public function delete($key) { if (!$this->lockBackend->acquire($key)) { $this->lockBackend->wait($key); if (!$this->lockBackend->acqui

LocalStream::getUri

LocalStream::getUri() Returns the stream resource URI. Return value string Returns the current URI of the instance. Overrides StreamWrapperInterface::getUri File core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 67 Class LocalStream Defines a Drupal stream wrapper base class for local files. Namespace Drupal\Core\StreamWrapper Code function getUri() { return $this->uri; }