You are here

public function FormStateDecoratorBase::getCacheableArray in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::getCacheableArray()

Returns an array representation of the cacheable portion of the form state.

Return value

array The cacheable portion of the form state.

Overrides FormStateInterface::getCacheableArray

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 425

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function getCacheableArray() {
  return $this->decoratedFormState
    ->getCacheableArray();
}