public function LocalLibraryTrait::setUninstalled in Libraries API 8.3
Marks the library as uninstalled.
A corresponding method to mark the library as installed is not provided as an installed library should have a library path, so that LocalLibraryInterface::setLibraryPath() can be used instead.
Return value
$this
See also
\Drupal\libraries\ExternalLibrary\Local\LocalLibraryInterface::setUninstalled()
File
- src/
ExternalLibrary/ Local/ LocalLibraryTrait.php, line 59
Class
- LocalLibraryTrait
- Provides a trait for local libraries utilizing a stream wrapper.
Namespace
Drupal\libraries\ExternalLibrary\LocalCode
public function setUninstalled() {
$this->installed = FALSE;
return $this;
}