Remove Geysir support

Created on 23 May 2023, about 1 year ago
Updated 6 June 2023, about 1 year ago

Problem/Motivation

The ParagraphBlock plugin has built-in support for the Geysir project β†’ . It automatically adds geysir contextual links to the block build.

    // Add geysir contextual links.
    if (function_exists('geysir_contextual_links')) {
      $link_options = [
        'parent_entity_type' => $entity->getEntityType()->id(),
        'parent_entity' => $entity->id(),
        'field' => $this->fieldName,
        'field_wrapper_id' => Html::getUniqueId('geysir--' . $this->fieldName),
        'delta' => $this->fieldDelta,
        'js' => 'nojs',
        'paragraph' => $paragraph->id(),
      ];
      $build['#geysir_field_paragraph_links'] = geysir_contextual_links($link_options);
      $build['#theme_wrappers'][] = 'geysir_field_paragraph_wrapper';
      $build['#attributes']['data-geysir-field-paragraph-field-wrapper'] = $link_options['field_wrapper_id'];
    }

Geysir doesn't have a Drupal 10 release, nor has it been updated in the last 2 years. We should drop out-of-the-box compatibility.

Proposed resolution

The code should be removed in an upcoming major release and potentially moved to a submodule or to the Geysir project itself.

Remaining tasks

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands basvredeling Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024