By finnsky on
Change record status:
Draft (View all draft change records)
Project:
Introduced in version:
11.4
Issue links:
Description:
There is a new list_filter render element
[
'#input' => TRUE,
'#size' => 60,
'#maxlength' => 128,
'#pre_render' => [
[static::class, 'preRenderListFilterSearch'],
],
'#theme' => 'input__search',
'#theme_wrappers' => ['form_element'],
'#list_container_selector' => '.filter-container',
'#list_item' => 'tbody tr',
'#list_text' => '',
'#minimum_filter_length' => 2,
'#search_start_of_words' => FALSE,
'#announce' => [
'singular' => $this->t('1 item is available in the modified list.'),
'plural' => $this->t('@count items are available in the modified list.'),
'all' => $this->t('All available items are listed.'),
],
]
There is a new list-filter and drupal-list-filter library
drupal.system.modules has been deprecated
Impacts:
Module developers
Themers
Site templates, recipes and distribution developers