$categories['display_extender_test'
] =
[ 'title' =>
$this->
t('Display extender test settings'
),
'column' => 'second',
'build' =>
[ '#weight' => -100,
],
];
$options['test_extender_test_option'
] =
[ 'category' => 'display_extender_test',
'title' =>
$this->
t('Test option'
),
'value' =>
views_ui_truncate($this->options
['test_extender_test_option'
], 24
),
];
} /**
* {@inheritdoc}
*/
public function buildOptionsForm(&
$form, FormStateInterface
$form_state) { switch ($form_state->
get('section'
)) { case 'test_extender_test_option':
$form['#title'
] .=
$this->
t('Test option'
);
$form['test_extender_test_option'
] =
[