Commit 555ffc00 authored by Jeroen Tubex's avatar Jeroen Tubex
Browse files

Issue #3296765 by JeroenT, Project Update Bot: Automated Drupal 10 compatibility fixes

parent c01e3a20
Loading
Loading
Loading
Loading
+2 −2
Changes for src/Plugin/CKEditorPlugin/Markdown.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ class Markdown extends CKEditorPluginBase {
   * {@inheritdoc}
   */
  public function getButtons() {
    $path = drupal_get_path('module', 'ckeditor_markdown') . '/js/plugins/markdown';
    $path = $this->getModulePath('ckeditor_markdown') . '/js/plugins/markdown';
    return [
      'Markdown' => [
        'label' => $this->t('Markdown'),
@@ -32,7 +32,7 @@ class Markdown extends CKEditorPluginBase {
   * {@inheritdoc}
   */
  public function getFile() {
    return drupal_get_path('module', 'ckeditor_markdown') . '/js/plugins/markdown/plugin.js';
    return $this->getModulePath('ckeditor_markdown') . '/js/plugins/markdown/plugin.js';
  }

  /**