You are here

public function AutoEmbed::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 AutoEmbed::needsTextMatchDependency()
AutoEmbed::getDependencies in src/Plugin/CKEditorPlugin/AutoEmbed.php
Returns a list of plugins this plugin requires.

File

src/Plugin/CKEditorPlugin/AutoEmbed.php, line 54

Class

AutoEmbed
Defines the "Auto Embed" plugin.

Namespace

Drupal\ckeditor_media_embed\Plugin\CKEditorPlugin

Code

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