You are here

public function RemoteLibraryInterface::hasRemoteUrl in Libraries API 8.3

Checks whether the library has a remote URL.

This check allows using the same library class for multiple libraries only some of which are available remotely.

Return value

bool TRUE if the library has a remote URL; FALSE otherwise.

See also

\Drupal\libraries\ExternalLibrary\Asset\AssetLibraryInterface

File

src/ExternalLibrary/Remote/RemoteLibraryInterface.php, line 27

Class

RemoteLibraryInterface
Provides an interface for remote libraries.

Namespace

Drupal\libraries\ExternalLibrary\Remote

Code

public function hasRemoteUrl();