public function BlazyAdminFormatterBase::settingsSummary in Blazy 8.2
Same name and namespace in other branches
- 8 src/Form/BlazyAdminFormatterBase.php \Drupal\blazy\Form\BlazyAdminFormatterBase::settingsSummary()
Return the field formatter settings summary.
Deprecated
in blazy:8.x-1.0 and is removed from blazy:8.x-2.0. Use self::getSettingsSummary() instead.
See also
https://www.drupal.org/node/3103018
File
- src/
Form/ BlazyAdminFormatterBase.php, line 262
Class
- BlazyAdminFormatterBase
- A base for field formatter admin to have re-usable methods in one place.
Namespace
Drupal\blazy\FormCode
public function settingsSummary($plugin, $definition = []) {
@trigger_error('settingsSummary is deprecated in blazy:8.x-1.0 and is removed from blazy:8.x-2.0. Use \\Drupal\\blazy\\BlazyAdminFormatterBase::getSettingsSummary() instead. See https://www.drupal.org/node/3103018', E_USER_DEPRECATED);
$definition = isset($definition) ? $definition : $plugin
->getScopedFormElements();
$definition['settings'] = isset($definition['settings']) ? $definition['settings'] : $plugin
->getSettings();
return $this
->getSettingsSummary($definition);
}