ban.module

Allows to ban individual IP addresses. File core/modules/ban/ban.module Functions Name Description ban_help Implements hook_help().

ban.install

Install, update and uninstall functions for the Ban module. File core/modules/ban/ban.install Functions Name Description ban_schema Implements hook_schema().

BackendCompilerPass::process

public BackendCompilerPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/BackendCompilerPass.php, line 39 Class BackendCompilerPass Defines a compiler pass to allow automatic override per backend. Namespace Drupal\Core\DependencyInjection\Compiler Code public function process(ContainerBuilder

BackendCompilerPass

Defines a compiler pass to allow automatic override per backend. A module developer has to tag his backend service with "backend_overridable": custom_service: class: ... tags: - { name: backend_overridable } As a site admin you set the 'default_backend' in your services.yml file: parameters: default_backend: sqlite As a developer for alternative storage engines you register a service with $yourbackend.$original_service: sqlite.custom_service: class: ... Hierarchy class \Drupal\

BackendChain::__construct

public BackendChain::__construct($bin) Constructs a DatabaseBackend object. Parameters string $bin: The cache bin for which the object is created. File core/lib/Drupal/Core/Cache/BackendChain.php, line 37 Class BackendChain Defines a chained cache implementation for combining multiple cache backends. Namespace Drupal\Core\Cache Code public function __construct($bin) { }

BackendChain::setMultiple

public BackendChain::setMultiple(array $items) Store multiple items in the persistent cache. Parameters array $items: An array of cache items, keyed by cid. In the form: $items = array( $cid => array( // Required, will be automatically serialized if not a string. 'data' => $data, // Optional, defaults to CacheBackendInterface::CACHE_PERMANENT. 'expire' => CacheBackendInterface::CACHE_PERMANENT, // (optional) The cache tags for this item, see CacheBa

BackendChain::set

public BackendChain::set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: The cache ID of the da

BackendChain::removeBin

public BackendChain::removeBin() Remove a cache bin. Overrides CacheBackendInterface::removeBin File core/lib/Drupal/Core/Cache/BackendChain.php, line 216 Class BackendChain Defines a chained cache implementation for combining multiple cache backends. Namespace Drupal\Core\Cache Code public function removeBin() { foreach ($this->backends as $backend) { $backend->removeBin(); } }

BackendChain::prependBackend

public BackendChain::prependBackend(CacheBackendInterface $backend) Prepends a cache backend to the cache chain. Parameters CacheBackendInterface $backend: The backend to be prepended to the cache chain. Return value \Drupal\Core\Cache\BackendChain The called object. File core/lib/Drupal/Core/Cache/BackendChain.php, line 64 Class BackendChain Defines a chained cache implementation for combining multiple cache backends. Namespace Drupal\Core\Cache Code public function prependBackend(C

BackendChain::invalidateTags

public BackendChain::invalidateTags(array $tags) Marks cache items with any of the specified tags as invalid. Parameters string[] $tags: The list of tags for which to invalidate cache items. Overrides CacheTagsInvalidatorInterface::invalidateTags File core/lib/Drupal/Core/Cache/BackendChain.php, line 187 Class BackendChain Defines a chained cache implementation for combining multiple cache backends. Namespace Drupal\Core\Cache Code public function invalidateTags(array $tags) { forea