function public function SettingBase::autoCreateFormElement

8.x-3.x SettingBase.php public SettingBase::autoCreateFormElement()

Indicates whether a form element should be created automatically.

Return value

bool TRUE or FALSE

Overrides SettingInterface::autoCreateFormElement

Class

SettingBase
Base class for a setting.

Namespace

Drupal\bootstrap\Plugin\Setting

Source src/Plugin/Setting/SettingBase.php (line 50)

public function autoCreateFormElement() {
  return !($this instanceof DeprecatedSettingInterface);
}