Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::getCacheableArray()
  2. 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::getCacheableArray()

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

Return value

array The cacheable portion of the form state.

1 method overrides FormStateInterface::getCacheableArray()
FormStateDecoratorBase::getCacheableArray in core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
Returns an array representation of the cacheable portion of the form state.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 80

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function getCacheableArray();