You are here

File.php in Geocoder 7.2

The File plugin.

File

src/Plugin/Geocoder/Provider/File.php
View source
<?php

/**
 * @file
 * The File plugin.
 */
namespace Drupal\geocoder\Plugin\Geocoder\Provider;

use Drupal\geocoder\Plugin\Geocoder\ProviderInterface;
use Drupal\geocoder\Plugin\Geocoder\Provider;
use Geocoder\Geocoder;

/**
 * Class File.
 *
 * @GeocoderPlugin(
 *  id = "file",
 *  name = "File",
 *  type = "Provider",
 *  arguments = {
 *   "@geocoder.http_adapter",
 *   "@logger.channel.default",
 *   "@messenger"
 *  }
 * )
 */
class File extends Provider implements ProviderInterface {

  /**
   * @inheritdoc
   */
  public function init() {
    $this
      ->setHandler(new \Geocoder\Provider\File());
    return parent::init();
  }

}

Classes

Namesort descending Description
File Class File.