You are here

public function FileGeocodeFormatter::__construct in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 modules/geocoder_field/src/Plugin/Field/FieldFormatter/FileGeocodeFormatter.php \Drupal\geocoder_field\Plugin\Field\FieldFormatter\FileGeocodeFormatter::__construct()

Constructs a GeocodeFormatterFile object.

Parameters

string $plugin_id: The plugin_id for the formatter.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The definition of the field to which the formatter is associated.

array $settings: The formatter settings.

string $label: The formatter label display setting.

string $view_mode: The view mode.

array $third_party_settings: Any third party settings.

\Drupal\geocoder\GeocoderInterface $geocoder: The gecoder service.

\Drupal\geocoder\ProviderPluginManager $provider_plugin_manager: The provider plugin manager service.

\Drupal\geocoder\DumperPluginManager $dumper_plugin_manager: The dumper plugin manager service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The Link Generator service.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\geocoder_field\PreprocessorPluginManager $preprocessor_manager: The Preprocessor Manager.

Overrides GeocodeFormatterBase::__construct

1 call to FileGeocodeFormatter::__construct()
GeoPhpGeocodeFormatter::__construct in modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php
Constructs a GeoPhpGeocodeFormatter object.
1 method overrides FileGeocodeFormatter::__construct()
GeoPhpGeocodeFormatter::__construct in modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php
Constructs a GeoPhpGeocodeFormatter object.

File

modules/geocoder_field/src/Plugin/Field/FieldFormatter/FileGeocodeFormatter.php, line 84

Class

FileGeocodeFormatter
Plugin implementation of the Geocode formatter for File and Image fields.

Namespace

Drupal\geocoder_field\Plugin\Field\FieldFormatter

Code

public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, GeocoderInterface $geocoder, ProviderPluginManager $provider_plugin_manager, DumperPluginManager $dumper_plugin_manager, RendererInterface $renderer, LinkGeneratorInterface $link_generator, LoggerChannelFactoryInterface $logger_factory, EntityTypeManagerInterface $entity_type_manager, PreprocessorPluginManager $preprocessor_manager) {
  parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings, $geocoder, $provider_plugin_manager, $dumper_plugin_manager, $renderer, $link_generator, $logger_factory, $entity_type_manager);
  $this->preprocessorManager = $preprocessor_manager;
}