You are here

public static function GeofieldMapAjaxPopupController::getPopupIdentifier in Geofield Map 8.2

Get popup identifier.

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.

1 call to GeofieldMapAjaxPopupController::getPopupIdentifier()
GeofieldMapAjaxPopupController::getPopupIdentifierAttribute in src/Controller/GeofieldMapAjaxPopupController.php
Get popup identifier attribute.

File

src/Controller/GeofieldMapAjaxPopupController.php, line 105

Class

GeofieldMapAjaxPopupController
Default controller for the leaflet_views_ajax_popup module.

Namespace

Drupal\geofield_map\Controller

Code

public static function getPopupIdentifier($entityType, $entityId, $viewMode, $langcode) {
  return "{$entityType}-{$entityId}-{$viewMode}-{$langcode}";
}