You are here

public function ShareEverywhereServiceInterface::isRestricted in Share Everywhere 8

Same name and namespace in other branches
  1. 2.x src/ShareEverywhereServiceInterface.php \Drupal\share_everywhere\ShareEverywhereServiceInterface::isRestricted()

Determines if module is restricted to show or not on certain pages.

Parameters

string $view_mode: Entity view mode.

Return value

bool Returns TRUE or FALSE.

1 method overrides ShareEverywhereServiceInterface::isRestricted()
ShareEverywhereService::isRestricted in src/ShareEverywhereService.php
Determines if module is restricted to show or not on certain pages.

File

src/ShareEverywhereServiceInterface.php, line 32

Class

ShareEverywhereServiceInterface
Interface for ShareEverywhereService.

Namespace

Drupal\share_everywhere

Code

public function isRestricted($view_mode);