function FormStateInterface::getCacheableArray

Same name 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()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.