By quiron on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.8.x
Introduced in version:
8.8.0
Issue links:
Description:
Summary
- Added
#dropbutton_typesetting to dropbutton render element #dropbutton_typeis a string defining a type of dropbutton variant for styling proposes. Renders as a class:dropbutton--#dropbutton_type
After:
$form['actions']['extra_actions'] = array(
'#type' => 'dropbutton',
'#dropbutton_type' => 'small',
'#links' => array(
'demo' => array(
'title' => $this->t('Build Demo'),
'url' => Url::fromRoute('fapi_example.build_demo'),
),
),
);
Impacts:
Themers