Verified Commit 9c7b3cbf authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #2719653 by mfernea, quietone, savkaviktor16@gmail.com, andypost,...

Issue #2719653 by mfernea, quietone, savkaviktor16@gmail.com, andypost, karishmaamin, ankithashetty, gauravvvv, suresh prabhu parkala, longwave, vprocessor, basil_snowman, daffie, mile23: Fix 'Drupal.Commenting.InlineComment.DocBlock' coding standard
parent f666681c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ public function set(array $keys, $data, CacheableDependencyInterface $cacheabili
      // need to be cleared. If they ever end up leading to a stale cache item
      // that now uses different contexts then said item will either follow an
      // existing path of redirects or carve its own over the old one.
      /** @phpstan-ignore variable.undefined */
      // @phpstan-ignore variable.undefined
      $this->cacheBackend->set($chain_cid, new CacheRedirect($cacheability));
    }

+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ function _update_ckeditor5_html_filter(array $form, FormStateInterface $form_sta
  $response->addCommand(new InvokeCommand('[data-drupal-selector="edit-editor-editor"]', $ckeditor5_selected_but_errors ? 'addClass' : 'removeClass', ['error']));
  $response->addCommand(new InvokeCommand('[data-drupal-selector="edit-editor-editor"]', $ckeditor5_selected_but_errors ? 'attr' : 'removeAttr', ['data-error-switching-to-ckeditor5', TRUE]));

  /**
  /*
   * Recursively find #attach items in the form and add as attachments to the
   * AJAX response.
   *
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ public function formFilterFormatFormAlter(array &$form, FormStateInterface $form
        'ckeditor5_only' => 'true',
      ];
    }
    /**
    /*
     * Recursively adds AJAX listeners to plugin settings elements.
     *
     * These are added so allowed tags and other fields that have values
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ protected function checkAccess(EntityInterface $entity, $operation, AccountInter
    // a certain field storage config entity, it should also be allowed for all
    // associated field config entities.
    // @see \Drupal\Core\Field\FieldDefinitionInterface
    /** \Drupal\field\FieldConfigInterface $entity */
    /** @var \Drupal\field\FieldConfigInterface $entity */
    $field_storage_entity = $entity->getFieldStorageDefinition();
    return $field_storage_entity->access($operation, $account, TRUE);
  }
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class FieldStorageConfigAccessControlHandler extends EntityAccessControlHandler
   * {@inheritdoc}
   */
  protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) {
    /** \Drupal\field\FieldStorageConfigInterface $entity */
    /** @var \Drupal\field\FieldStorageConfigInterface $entity */
    if ($operation === 'delete') {
      if ($entity->isLocked()) {
        return AccessResult::forbidden()->addCacheableDependency($entity);
Loading