You are here

public static function LeafletAjaxPopupController::getPopupIdentifierSelector in Leaflet 2.0.x

Same name and namespace in other branches
  1. 8 modules/leaflet_views/src/Controller/LeafletAjaxPopupController.php \Drupal\leaflet_views\Controller\LeafletAjaxPopupController::getPopupIdentifierSelector()
  2. 2.1.x modules/leaflet_views/src/Controller/LeafletAjaxPopupController.php \Drupal\leaflet_views\Controller\LeafletAjaxPopupController::getPopupIdentifierSelector()

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 LeafletAjaxPopupController::getPopupIdentifierSelector()
LeafletAjaxPopupController::popupBuild in modules/leaflet_views/src/Controller/LeafletAjaxPopupController.php
Leaflet Ajax Popup build callback..

File

modules/leaflet_views/src/Controller/LeafletAjaxPopupController.php, line 143

Class

LeafletAjaxPopupController
Default controller for the leaflet_views_ajax_popup module.

Namespace

Drupal\leaflet_views\Controller

Code

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