You are here

public function BlazyManagerBase::typecast in Blazy 7

Typecast the needed settings, blazy-related module can override.

Performance wise, typecasting should be at the form submit as calling self::config() can be called multiple times. See sample below.

Overrides BlazyManagerInterface::typecast

See also

Drupal\blazy_ui\Form\BlazySettingsForm::submitForm()

Drupal\slick_ui\Form\SlickSettingsForm::submitForm()

1 method overrides BlazyManagerBase::typecast()
BlazyManager::typecast in src/BlazyManager.php
Typecast the needed settings, blazy-related module can override.

File

src/BlazyManagerBase.php, line 73

Class

BlazyManagerBase
Implements BlazyManagerInterface.

Namespace

Drupal\blazy

Code

public function typecast(array &$config, $id = 'blazy.settings') {

  // Do nothing, allows extenders without UI to forget about it.
}