You are here

public function InstallablePlugin::isPreferredLibraryInstalled in Markdown 8.2

Indicates whether the preferred library is installed.

Return value

bool TRUE or FALSE

File

src/Annotation/InstallablePlugin.php, line 138

Class

InstallablePlugin
Base annotation for "installable" plugins.

Namespace

Drupal\markdown\Annotation

Code

public function isPreferredLibraryInstalled() {
  return $this
    ->getPreferredLibrary() === $this
    ->getInstalledLibrary();
}