public function BlazyAdminTest::getSettingsSummary in Blazy 8
Same name and namespace in other branches
- 8.2 tests/modules/blazy_test/src/Form/BlazyAdminTest.php \Drupal\blazy_test\Form\BlazyAdminTest::getSettingsSummary()
Return the field formatter settings summary.
@todo: Remove second param $plugin for post-release for Blazy RC2+.
File
- tests/
modules/ blazy_test/ src/ Form/ BlazyAdminTest.php, line 187
Class
- BlazyAdminTest
- Provides resusable admin functions or form elements.
Namespace
Drupal\blazy_test\FormCode
public function getSettingsSummary(array $definition = [], $plugin = NULL) {
// @todo: Remove condition for Blazy RC2+.
if (!method_exists($this->blazyAdmin, 'getSettingsSummary')) {
return $this->blazyAdmin
->settingsSummary($plugin, $definition);
}
return $this->blazyAdmin
->getSettingsSummary($definition);
}