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::merge

public BubbleableMetadata::merge(CacheableMetadata $other) Merges the values of another bubbleable metadata object with this one. Parameters \Drupal\Core\Cache\CacheableMetadata $other: The other bubbleable metadata object. Return value static A new bubbleable metadata object, with the merged data. Overrides CacheableMetadata::merge File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 26 Class BubbleableMetadata Value object used for bubbleable rendering metadata. Namespace D

BubbleableMetadata::createFromRenderArray

public static BubbleableMetadata::createFromRenderArray(array $build) Creates a bubbleable metadata object with values taken from a render array. Parameters array $build: A render array. Return value static Overrides CacheableMetadata::createFromRenderArray File core/lib/Drupal/Core/Render/BubbleableMetadata.php, line 65 Class BubbleableMetadata Value object used for bubbleable rendering metadata. Namespace Drupal\Core\Render Code public static function createFromRenderArray(array $b

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

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

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;

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(); }

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::__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

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(); }