You are here

public function BlockedLibraryManager::hasBlockedLibraries in Cookie Content Blocker 8

Check whether there are any blocked libraries.

Return value

bool TRUE is there is at least one blocked library, FALSE otherwise.

Overrides BlockedLibraryManagerInterface::hasBlockedLibraries

File

src/BlockedLibraryManager.php, line 38

Class

BlockedLibraryManager
Manages libraries that are blocked until consent is given.

Namespace

Drupal\cookie_content_blocker

Code

public function hasBlockedLibraries() : bool {
  return !empty($this->blockedLibraries);
}