public function BlazyAdminFormatterBase::getResponsiveImageOptions in Blazy 7
Same name and namespace in other branches
- 8 src/Form/BlazyAdminFormatterBase.php \Drupal\blazy\Form\BlazyAdminFormatterBase::getResponsiveImageOptions()
Returns Picture for select options.
1 call to BlazyAdminFormatterBase::getResponsiveImageOptions()
- BlazyAdminFormatterBase::imageStyleForm in src/
Form/ BlazyAdminFormatterBase.php - Returns re-usable image formatter form elements.
File
- src/
Form/ BlazyAdminFormatterBase.php, line 290
Class
- BlazyAdminFormatterBase
- A base for field formatter admin to have re-usable methods in one place.
Namespace
Drupal\blazy\FormCode
public function getResponsiveImageOptions() {
if (function_exists('picture_get_mapping_options')) {
return picture_get_mapping_options();
}
return [];
}