geolocation-8.x-3.x-dev/src/Annotation/MapCenter.php
src/Annotation/MapCenter.php
<?php
namespace Drupal\geolocation\Annotation;
use Drupal\Component\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
/**
* Defines a MapCenter annotation object.
*
* @deprecated in geolocation:4.0.0 and is removed from geolocation:4.0.1. Use Attribute instead.
* @see https://www.drupal.org/project/geolocation/issues/3525013
*
* @see \Drupal\geolocation\MapCenterManager
* @see plugin_api
*
* @Annotation
*/
class MapCenter extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public string $id;
/**
* The name of the MapCenter.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public Translation $name;
/**
* The description of the MapCenter.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public Translation $description;
}
