public function ViewportResolverInterface::isPathSelected in Viewport 8
Checks if the given path (or current path) needs a custom viewport tag.
Return value
bool Whether the given path needs to use a custom viewport or not.
1 method overrides ViewportResolverInterface::isPathSelected()
- ViewportResolver::isPathSelected in src/
ViewportResolver.php - Checks if the given path (or current path) needs a custom viewport tag.
File
- src/
ViewportResolverInterface.php, line 16
Class
- ViewportResolverInterface
- Defines an interface for viewport tag resolvers.
Namespace
Drupal\viewportCode
public function isPathSelected($path = NULL);