if ((bool) $responsive_image_style->
id() &&
$this->operation != 'duplicate'
) { $description =
$this->
t('Select a breakpoint group from the installed themes and modules. Below you can select which breakpoints to use from this group. You can also select which image style or styles to use for each breakpoint you use.'
) . ' ' .
$this->
t("Warning: if you change the breakpoint group you lose all your image style selections for each breakpoint."
);
} else { $description =
$this->
t('Select a breakpoint group from the installed themes and modules.'
);
} $form['breakpoint_group'
] =
[ '#type' => 'select',
'#title' =>
$this->
t('Breakpoint group'
),
'#default_value' =>
$responsive_image_style->
getBreakpointGroup() ?: 'responsive_image',
'#options' =>
$this->breakpointManager->
getGroups(),
'#required' => TRUE,
'#description' =>
$description,
'#ajax' =>
[ 'callback' => '::breakpointMappingFormAjax',
'wrapper' => 'responsive-image-style-breakpoints-wrapper',
],
];
$form['keyed_styles'
] =
[ '#type' => 'container',