You are here

public function CustomFormatters::__construct in Custom Formatters 8.3

CustomFormatters constructor.

File

src/Plugin/Derivative/CustomFormatters.php, line 17

Class

CustomFormatters
Retrieves field formatter plugin definitions for all custom formatters.

Namespace

Drupal\custom_formatters\Plugin\Derivative

Code

public function __construct() {
  $this->settings = \Drupal::config('custom_formatters.settings');
}