You are here

public static function GeofieldMapAjaxPopupController::getPopupIdentifierSelector in Geofield Map 8.2

Get popup identifier selector.

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.

1 call to GeofieldMapAjaxPopupController::getPopupIdentifierSelector()
GeofieldMapAjaxPopupController::popupBuild in src/Controller/GeofieldMapAjaxPopupController.php
Geofield Map Ajax Popup build callback.

File

src/Controller/GeofieldMapAjaxPopupController.php, line 143

Class

GeofieldMapAjaxPopupController
Default controller for the leaflet_views_ajax_popup module.

Namespace

Drupal\geofield_map\Controller

Code

public static function getPopupIdentifierSelector($entityType, $entityId, $viewMode, $langcode) {
  return sprintf('[%s]', self::getPopupIdentifierAttribute($entityType, $entityId, $viewMode, $langcode));
}