GroupTermOperationProvider should call the parents

Created on 10 January 2023, over 1 year ago
Updated 25 January 2023, over 1 year ago

GroupTermOperationProvider is part of the operation provider decorator chain. By not calling the parent, you are eliminating part of that chain.

Consider changing:

  /**
   * {@inheritdoc}
   */
  public function getGroupOperations(GroupInterface $group) {

    $vocabulary_id = $this->groupRelationType->getEntityBundle();
    $vocabulary = Vocabulary::load($vocabulary_id);
    $operations = [];

to

  /**
   * {@inheritdoc}
   */
  public function getGroupOperations(GroupInterface $group) {

    $vocabulary_id = $this->groupRelationType->getEntityBundle();
    $vocabulary = Vocabulary::load($vocabulary_id);
    $operations = $this->parent->getGroupOperations($group);
πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium kristiaanvandeneynde Antwerp, Belgium

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024