You are here

public function LeafletMarker::getEntityTypeId in Leaflet 8

Same name and namespace in other branches
  1. 2.1.x modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php \Drupal\leaflet_views\Plugin\views\row\LeafletMarker::getEntityTypeId()
  2. 2.0.x modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php \Drupal\leaflet_views\Plugin\views\row\LeafletMarker::getEntityTypeId()

Returns the entity type identifier.

Return value

string The entity type identifier.

Overrides EntityTranslationRenderTrait::getEntityTypeId

File

modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php, line 377

Class

LeafletMarker
Plugin which formats a row as a leaflet marker.

Namespace

Drupal\leaflet_views\Plugin\views\row

Code

public function getEntityTypeId() {
  return $this->entityType
    ->id();
}