BubbleableMetadata::createFromObject

public static BubbleableMetadata::createFromObject($object) Creates a bubbleable metadata object from a depended object. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|mixed $object: The object whose cacheability metadata to retrieve. If it implements CacheableDependencyInterface, its cacheability metadata will be used, otherwise, the passed in object must be assumed to be uncacheable, so max-age 0 is set. Return value static Overrides CacheableMetadata::createFromObject File core

BubbleableMetadata::applyTo

public BubbleableMetadata::applyTo(array &$build) Applies the values of this bubbleable metadata object to a render array. Parameters array &$build: A render array. Overrides CacheableMetadata::applyTo File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 52 Class BubbleableMetadata Value object used for bubbleable rendering metadata. Namespace Drupal\Core\Render Code public function applyTo(array &$build) { parent::applyTo($build); $build['#attached'] = $this-

BubbleableMetadata::addCacheableDependency

public BubbleableMetadata::addCacheableDependency($other_object) Adds a dependency on an object: merges its cacheability metadata. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|object $other_object: The dependency. If the object implements CacheableDependencyInterface, then its cacheability metadata will be used. Otherwise, the passed in object must be assumed to be uncacheable, so max-age 0 is set. Return value $this Overrides RefinableCacheableDependencyTrait::addCacheableDepen

BubbleableMetadata

Value object used for bubbleable rendering metadata. Hierarchy class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTraitclass \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTrait See also \Drupal\Core\Render\RendererInterface::render() File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 13 Namespace Drupal\Core\Render Members Name Modifiers Type Descriptio

BrokenPostRequestException::__construct

public BrokenPostRequestException::__construct($max_upload_size, $message = NULL, \Exception $previous = NULL, $code = 0) Constructs a new BrokenPostRequestException. Parameters string $max_upload_size: The size of the maximum upload size. string $message: The internal exception message. \Exception $previous: The previous exception. int $code: The internal exception code. Overrides BadRequestHttpException::__construct File core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php, lin

BrokenPostRequestException::getSize

public BrokenPostRequestException::getSize() Returns the maximum upload size. Return value string A translated string representation of the size of the file size limit based on the PHP upload_max_filesize and post_max_size. File core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php, line 44 Class BrokenPostRequestException Defines an exception used, when the POST HTTP body is broken. Namespace Drupal\Core\Form\Exception Code public function getSize() { return $this->

BrokenPostRequestException::$size

The maximum upload size. Type: string File core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php, line 17 Class BrokenPostRequestException Defines an exception used, when the POST HTTP body is broken. Namespace Drupal\Core\Form\Exception Code protected $size;

BrokenPostRequestException

Defines an exception used, when the POST HTTP body is broken. Hierarchy class \Symfony\Component\HttpKernel\Exception\BadRequestHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException class \Drupal\Core\Form\Exception\BrokenPostRequestException File core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php, line 10 Namespace Drupal\Core\Form\Exception Members Name Modifiers Type Description BrokenPostRequestException::$size protected property

breakpoint_themes_uninstalled

breakpoint_themes_uninstalled($theme_list) Implements hook_themes_uninstalled() File core/modules/breakpoint/breakpoint.module, line 49 Manage breakpoints and breakpoint groups for responsive designs. Code function breakpoint_themes_uninstalled($theme_list) { \Drupal::service('breakpoint.manager')->clearCachedDefinitions(); }

breakpoint_themes_installed

breakpoint_themes_installed($theme_list) Implements hook_themes_installed() File core/modules/breakpoint/breakpoint.module, line 42 Manage breakpoints and breakpoint groups for responsive designs. Code function breakpoint_themes_installed($theme_list) { \Drupal::service('breakpoint.manager')->clearCachedDefinitions(); }