You are here

public function ElevateZoomPlusManager::isApplicable in ElevateZoom Plus 8

Same name and namespace in other branches
  1. 7 src/ElevateZoomPlusManager.php \Drupal\elevatezoomplus\ElevateZoomPlusManager::isApplicable()

Checks if the requirements are met.

1 call to ElevateZoomPlusManager::isApplicable()
ElevateZoomPlusManager::buildAlter in src/ElevateZoomPlusManager.php
Takes over original pre_render to avoid working with early render.

File

src/ElevateZoomPlusManager.php, line 76

Class

ElevateZoomPlusManager
Provides ElevateZoom Plus library methods mainly for hooks.

Namespace

Drupal\elevatezoomplus

Code

public function isApplicable(array $settings) {
  return !empty($settings['elevatezoomplus']) && (!empty($settings['_uri']) || !empty($settings['uri']));
}