public function FormStateInterface::getCacheableArray in Drupal 9
Same name and namespace in other branches
- 8 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();