You are here

public function InstallablePluginBase::isPreferred in Markdown 8.2

Indicates whether the plugin is using the preferred library.

Return value

bool TRUE or FALSE

Overrides InstallablePluginInterface::isPreferred

File

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

Class

InstallablePluginBase
Base class for installable plugins.

Namespace

Drupal\markdown\Plugin\Markdown

Code

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