You are here

public function InstallablePluginBase::getPreferredLibrary in Markdown 8.2

Retrieves the preferred library of the plugin.

Return value

\Drupal\markdown\Annotation\InstallableLibrary|void The preferred library, if any.

Overrides InstallablePluginInterface::getPreferredLibrary

1 call to InstallablePluginBase::getPreferredLibrary()
InstallablePluginBase::buildStatus in src/Plugin/Markdown/InstallablePluginBase.php
Builds a display status based on the current state of the plugin.

File

src/Plugin/Markdown/InstallablePluginBase.php, line 278

Class

InstallablePluginBase
Base class for installable plugins.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getPreferredLibrary() {
  return $this->pluginDefinition
    ->getPreferredLibrary();
}