protected function SupportTicket::pageDisplayOptions in Support Ticketing System 8
Retrieves the page display options.
Parameters
array $form: The full wizard form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the wizard form.
Return value
array Returns an array of display options.
Overrides WizardPluginBase::pageDisplayOptions
File
- modules/
support_ticket/ src/ Plugin/ views/ wizard/ SupportTicket.php, line 150 - Contains \Drupal\support_ticket\Plugin\views\wizard\SupportTicket.
Class
- SupportTicket
- Tests creating support ticket views with the wizard.
Namespace
Drupal\support_ticket\Plugin\views\wizardCode
protected function pageDisplayOptions(array $form, FormStateInterface $form_state) {
$display_options = parent::pageDisplayOptions($form, $form_state);
$row_plugin = $form_state
->getValue(array(
'page',
'style',
'row_plugin',
));
$row_options = $form_state
->getValue(array(
'page',
'style',
'row_options',
), array());
$this
->display_options_row($display_options, $row_plugin, $row_options);
return $display_options;
}