public function ListFieldThemerUrl::__construct in Geofield Map 8.2
Constructs a Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\StringTranslation\TranslationInterface $translation_manager: The translation manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
\Drupal\geofield_map\Services\MarkerIconService $marker_icon_service: The Marker Icon Service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.
Overrides MapThemerBase::__construct
File
- src/
Plugin/ GeofieldMapThemer/ ListFieldThemerUrl.php, line 85
Class
- ListFieldThemerUrl
- Style plugin to render a View output as a Leaflet map.
Namespace
Drupal\geofield_map\Plugin\GeofieldMapThemerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, TranslationInterface $translation_manager, ConfigFactoryInterface $config_factory, RendererInterface $renderer, EntityTypeManagerInterface $entity_manager, MarkerIconService $marker_icon_service, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $translation_manager, $renderer, $entity_manager, $marker_icon_service);
$this->config = $config_factory;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
}