public function ViewInclusion::submitConfigurationForm in Context 8
Same name and namespace in other branches
- 8.4 src/Plugin/Condition/ViewInclusion.php \Drupal\context\Plugin\Condition\ViewInclusion::submitConfigurationForm()
Parameters
array $form:
\Drupal\Core\Form\FormStateInterface $form_state:
Overrides ConditionPluginBase::submitConfigurationForm
File
- src/
Plugin/ Condition/ ViewInclusion.php, line 96
Class
- ViewInclusion
- Provides a 'Views' condition.
Namespace
Drupal\context\Plugin\ConditionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['view_inclusion'] = array_filter($form_state
->getValue('views_pages'));
parent::submitConfigurationForm($form, $form_state);
}