You are here

public function InstallablePluginBase::isPreferredLibraryInstalled in Markdown 8.2

Indicates whether the preferred library is installed.

Return value

bool TRUE or FALSE

Overrides InstallablePluginInterface::isPreferredLibraryInstalled

3 calls to InstallablePluginBase::isPreferredLibraryInstalled()
FootnoteExtension::allowedHtmlTags in src/Plugin/Markdown/CommonMark/Extension/FootnoteExtension.php
Retrieves the allowed HTML tags.
FootnoteExtension::buildConfigurationForm in src/Plugin/Markdown/CommonMark/Extension/FootnoteExtension.php
Form constructor.
FootnoteExtension::settingsKey in src/Plugin/Markdown/CommonMark/Extension/FootnoteExtension.php
The array key name to use when the settings are nested in another array.

File

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

Class

InstallablePluginBase
Base class for installable plugins.

Namespace

Drupal\markdown\Plugin\Markdown

Code

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