You are here

public function FormStateInterface::getCacheableArray in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::getCacheableArray()
  2. 10 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.

2 methods override FormStateInterface::getCacheableArray()
FormState::getCacheableArray in core/lib/Drupal/Core/Form/FormState.php
Returns an array representation of the cacheable portion of the form state.
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();