LocalStream::stream_cast

public LocalStream::stream_cast($cast_as) Retrieve the underlying stream resource. This method is called in response to stream_select(). Parameters int $cast_as: Can be STREAM_CAST_FOR_SELECT when stream_select() is calling stream_cast() or STREAM_CAST_AS_STREAM when stream_cast() is called for other uses. Return value resource|false The underlying stream resource or FALSE if stream_select() is not supported. Overrides PhpStreamWrapperInterface::stream_cast See also stream_select() http://ph

RegisterEntityResolversCompilerPass

Adds services tagged 'normalizer' and 'encoder' to the Serializer. Hierarchy class \Drupal\serialization\RegisterEntityResolversCompilerPass implements CompilerPassInterface File core/modules/serialization/src/RegisterEntityResolversCompilerPass.php, line 12 Namespace Drupal\serialization Members Name Modifiers Type Description RegisterEntityResolversCompilerPass::process public function Adds services to the Serializer. Overrides CompilerPassInterface::process Register

system_get_module_admin_tasks

system_get_module_admin_tasks($module, array $info) Generate a list of tasks offered by a specified module. Parameters string $module: Module name. array $info: The module's information, as provided by system_get_info(). Return value array An array of task links. File core/modules/system/system.module, line 1211 Configuration system that lets administrators modify the workings of the site. Code function system_get_module_admin_tasks($module, array $info) { $tree = &drupal_static(__FUN

LocaleConfigSubscriber::__construct

public LocaleConfigSubscriber::__construct(ConfigFactoryInterface $config_factory, LocaleConfigManager $locale_config_manager) Constructs a LocaleConfigSubscriber. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory. \Drupal\locale\LocaleConfigManager $locale_config_manager: The typed configuration manager. File core/modules/locale/src/LocaleConfigSubscriber.php, line 57 Class LocaleConfigSubscriber Updates strings translation when configuratio

FormStateInterface::isBypassingProgrammedAccessChecks

public FormStateInterface::isBypassingProgrammedAccessChecks() Determines if this form submission should bypass #access. Return value bool See also \Drupal\Core\Form\FormState::$programmed_bypass_access_check File core/lib/Drupal/Core/Form/FormStateInterface.php, line 885 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function isBypassingProgrammedAccessChecks();

Connection::createDatabase

abstract public Connection::createDatabase($database) Creates a database. In order to use this method, you must be connected without a database specified. Parameters string $database: The name of the database to create. File core/lib/Drupal/Core/Database/Connection.php, line 1317 Class Connection Base Database API class. Namespace Drupal\Core\Database Code abstract public function createDatabase($database);

ConfigMapperInterface::getTypeName

public ConfigMapperInterface::getTypeName() Returns the name of the type of data the mapper encapsulates. Return value string The name of the type of data the mapper encapsulates. File core/modules/config_translation/src/ConfigMapperInterface.php, line 232 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getTypeName();

drupal_dirname

drupal_dirname($uri) Gets the name of the directory from a given path. Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::dirname(). Related topics File interface Common file handling functions. File core/includes/file.inc, line 1137 API for handling file uploads and server file management. Code function drupal_dirname($uri) { return \Drupal::service('file_system')->dirname($uri); }

drupal_tempnam

drupal_tempnam($directory, $prefix) Creates a file with a unique filename in the specified directory. Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::tempnam(). Related topics File interface Common file handling functions. File core/includes/file.inc, line 1178 API for handling file uploads and server file management. Code function drupal_tempnam($directory, $prefix) { return \Drupal::service('file_system')->tempnam($directory,

ApcuBackend::invalidateAll

public ApcuBackend::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/ApcuBackend.php, line 243 Class ApcuBackend Stores cache items in th