public function BlockedLibraryManagerInterface::isBlocked in Cookie Content Blocker 8
Check whether a single library is blocked.
Parameters
string $library: The name of the library.
Return value
bool TRUE if the library is blocked, FALSE otherwise.
1 method overrides BlockedLibraryManagerInterface::isBlocked()
- BlockedLibraryManager::isBlocked in src/
BlockedLibraryManager.php - Check whether a single library is blocked.
File
- src/
BlockedLibraryManagerInterface.php, line 45
Class
- BlockedLibraryManagerInterface
- Interface BlockedLibraryManagerInterface.
Namespace
Drupal\cookie_content_blockerCode
public function isBlocked(string $library) : bool;