function public function CdnCacheTtlBase::autoCreateFormElement

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

Indicates whether a form element should be created automatically.

Return value

bool TRUE or FALSE

Overrides SettingBase::autoCreateFormElement

Class

CdnCacheTtlBase
Base class for "cdn_cache_ttl_*" settings.

Namespace

Drupal\bootstrap\Plugin\Setting\Advanced\Cdn

Source src/Plugin/Setting/Advanced/Cdn/CdnCacheTtlBase.php (line 56)

public function autoCreateFormElement() {
  // Don't auto create these; they are created as part of CDN Provider.
  // @see \Drupal\bootstrap\Plugin\Setting\Advanced\Cdn\CdnProvider::alterFormElement()
  return FALSE;
}