You are here

public function VersionedLibraryInterface::setVersion in Libraries API 8.3

Sets the version of the library.

@reutrn $this

Parameters

string $version: The version of the library.

See also

\Drupal\libraries\ExternalLibrary\Version\VersionedLibraryInterface::getVersion()

File

src/ExternalLibrary/Version/VersionedLibraryInterface.php, line 48

Class

VersionedLibraryInterface
Provides an interface for versioned libraries.

Namespace

Drupal\libraries\ExternalLibrary\Version

Code

public function setVersion($version);