You are here

public function BlazyManagerInterface::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.

See also

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

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

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

File

src/BlazyManagerInterface.php, line 27

Class

BlazyManagerInterface
Defines re-usable services and functions for blazy plugins.

Namespace

Drupal\blazy

Code

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