class Location in Geolocation Field 8.2
Same name in this branch
- 8.2 src/Annotation/Location.php \Drupal\geolocation\Annotation\Location
- 8.2 src/Plugin/geolocation/MapCenter/Location.php \Drupal\geolocation\Plugin\geolocation\MapCenter\Location
- 8.2 src/Plugin/geolocation/LocationInput/Location.php \Drupal\geolocation\Plugin\geolocation\LocationInput\Location
Same name and namespace in other branches
- 8.3 src/Annotation/Location.php \Drupal\geolocation\Annotation\Location
Defines a Location annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\geolocation\Annotation\Location
Expanded class hierarchy of Location
See also
\Drupal\geolocation\LocationManager
6 string references to 'Location'
- views.view.geolocation_demo_commonmap_boundary_filter_with_ajax.yml in modules/
geolocation_google_maps/ modules/ geolocation_google_maps_demo/ config/ optional/ views.view.geolocation_demo_commonmap_boundary_filter_with_ajax.yml - modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_commonmap_boundary_filter_with_ajax.yml
- views.view.geolocation_demo_commonmap_with_attachment.yml in modules/
geolocation_google_maps/ modules/ geolocation_google_maps_demo/ config/ optional/ views.view.geolocation_demo_commonmap_with_attachment.yml - modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_commonmap_with_attachment.yml
- views.view.geolocation_demo_commonmap_with_marker_icons.yml in modules/
geolocation_google_maps/ modules/ geolocation_google_maps_demo/ config/ optional/ views.view.geolocation_demo_commonmap_with_marker_icons.yml - modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_commonmap_with_marker_icons.yml
- views.view.geolocation_demo_common_map_ajax.yml in modules/
geolocation_google_maps/ modules/ geolocation_google_maps_demo/ config/ optional/ views.view.geolocation_demo_common_map_ajax.yml - modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_common_map_ajax.yml
- views.view.geolocation_demo_interactive_commonmap_with_address_input.yml in modules/
geolocation_google_maps/ modules/ geolocation_google_maps_demo/ config/ optional/ views.view.geolocation_demo_interactive_commonmap_with_address_input.yml - modules/geolocation_google_maps/modules/geolocation_google_maps_demo/config/optional/views.view.geolocation_demo_interactive_commonmap_with_address_input.yml
7 classes are annotated with Location
- FirstRow in src/
Plugin/ geolocation/ Location/ FirstRow.php - Derive center from first row.
- FixedCoordinates in src/
Plugin/ geolocation/ Location/ FixedCoordinates.php - Fixed coordinates map center.
- FreeGeoIp in src/
Plugin/ geolocation/ Location/ FreeGeoIp.php - Fixed coordinates map center.
- ViewsBoundaryArgument in src/
Plugin/ geolocation/ Location/ ViewsBoundaryArgument.php - Derive center from proximity argument.
- ViewsEntityArgument in src/
Plugin/ geolocation/ Location/ ViewsEntityArgument.php - Derive center from proximity argument.
File
- src/
Annotation/ Location.php, line 15
Namespace
Drupal\geolocation\AnnotationView source
class Location extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the Location.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
/**
* The description of the Location.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Location:: |
public | property | The description of the Location. | |
Location:: |
public | property | The plugin ID. | |
Location:: |
public | property | The name of the Location. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |