You are here

public function AutoLink::needsTextMatchDependency in CKEditor Media Embed Plugin 8

Determine if the textmatch plugin is needed as a dependency.

Return value

bool Returns TRUE if the textmatch plugin is necessary.

1 call to AutoLink::needsTextMatchDependency()
AutoLink::getDependencies in src/Plugin/CKEditorPlugin/AutoLink.php
Returns a list of plugins this plugin requires.

File

src/Plugin/CKEditorPlugin/AutoLink.php, line 40

Class

AutoLink
Defines the "Media Embed Base" plugin.

Namespace

Drupal\ckeditor_media_embed\Plugin\CKEditorPlugin

Code

public function needsTextMatchDependency() {
  return $this
    ->versionCompare('4.11') >= 0;
}