You are here

public static function GeofieldMapAjaxPopupController::getPopupIdentifierAttribute in Geofield Map 8.2

Get popup identifier attribute.

Parameters

string $entityType: The entity type.

int $entityId: The entity id.

string $viewMode: The view mode.

string $langcode: The langcode.

Return value

string The identifier selector.

2 calls to GeofieldMapAjaxPopupController::getPopupIdentifierAttribute()
GeofieldGoogleMapViewStyle::render in src/Plugin/views/style/GeofieldGoogleMapViewStyle.php
Renders the View.
GeofieldMapAjaxPopupController::getPopupIdentifierSelector in src/Controller/GeofieldMapAjaxPopupController.php
Get popup identifier selector.

File

src/Controller/GeofieldMapAjaxPopupController.php, line 124

Class

GeofieldMapAjaxPopupController
Default controller for the leaflet_views_ajax_popup module.

Namespace

Drupal\geofield_map\Controller

Code

public static function getPopupIdentifierAttribute($entityType, $entityId, $viewMode, $langcode) {
  return sprintf('data-geofield-map-popup-ajax-entity="%s"', self::getPopupIdentifier($entityType, $entityId, $viewMode, $langcode));
}