function FormStateInterface::getCacheableArray
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::getCacheableArray()
- 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::getCacheableArray()
- 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\FormCode
public function getCacheableArray();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.