display_options_row example

return $filters;
  }

  /** * {@inheritdoc} */
  protected function pageDisplayOptions(array $form, FormStateInterface $form_state) {
    $display_options = parent::pageDisplayOptions($form$form_state);
    $row_plugin = $form_state->getValue(['page', 'style', 'row_plugin']);
    $row_options = $form_state->getValue(['page', 'style', 'row_options'][]);
    $this->display_options_row($display_options$row_plugin$row_options);
    return $display_options;
  }

  /** * {@inheritdoc} */
  protected function blockDisplayOptions(array $form, FormStateInterface $form_state) {
    $display_options = parent::blockDisplayOptions($form$form_state);
    $row_plugin = $form_state->getValue(['block', 'style', 'row_plugin']);
    $row_options = $form_state->getValue(['block', 'style', 'row_options'][]);
    $this->display_options_row($display_options$row_plugin$row_options);
    
Home | Imprint | This part of the site doesn't use cookies.