Commit b193bb97 authored by Nikolay Lobachev's avatar Nikolay Lobachev
Browse files

Issue #3316529 by ekes, LOBsTerr, blazey: Group 3.x compatibility

parent 51cad51c
Loading
Loading
Loading
Loading

composer.json

100755 → 100644
+0 −0

File mode changed from 100755 to 100644.

+25 −25
Original line number Diff line number Diff line
@@ -325,14 +325,14 @@ display:
          text: 'Delete term'
          output_url_as_text: false
          absolute: false
        delete_group_content:
          id: delete_group_content
        delete_group_relationship:
          id: delete_group_relationship
          table: group_relationship
          field: delete_group_content
          field: delete_group_relationship
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: group_content
          entity_type: group_relationship
          plugin_id: entity_link_delete
          label: ''
          exclude: true
@@ -378,14 +378,14 @@ display:
          text: 'Delete relationship'
          output_url_as_text: false
          absolute: false
        edit_group_content:
          id: edit_group_content
        edit_group_relationship:
          id: edit_group_relationship
          table: group_relationship
          field: edit_group_content
          field: edit_group_relationship
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: group_content
          entity_type: group_relationship
          plugin_id: entity_link_edit
          label: ''
          exclude: true
@@ -431,14 +431,14 @@ display:
          text: 'Edit relationship'
          output_url_as_text: false
          absolute: false
        view_group_content:
          id: view_group_content
        view_group_relationship:
          id: view_group_relationship
          table: group_relationship
          field: view_group_content
          field: view_group_relationship
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: group_content
          entity_type: group_relationship
          plugin_id: entity_link
          label: ''
          exclude: true
@@ -537,9 +537,9 @@ display:
          fields:
            edit_taxonomy_term: edit_taxonomy_term
            delete_taxonomy_term: delete_taxonomy_term
            delete_group_content: delete_group_content
            edit_group_content: edit_group_content
            view_group_content: view_group_content
            delete_group_relationship: delete_group_relationship
            edit_group_relationship: edit_group_relationship
            view_group_relationship: view_group_relationship
            name: '0'
            tid: '0'
            changed: '0'
@@ -602,7 +602,7 @@ display:
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: group_content
          entity_type: group_relationship
          entity_field: gid
          plugin_id: numeric
          default_action: 'access denied'
@@ -731,9 +731,9 @@ display:
            group_roles: group_roles
            changed: changed
            created: created
            view_group_content: view_group_content
            edit_group_content: edit_group_content
            delete_group_content: delete_group_content
            view_group_relationship: view_group_relationship
            edit_group_relationship: edit_group_relationship
            delete_group_relationship: delete_group_relationship
            dropbutton: dropbutton
          default: '-1'
          info:
@@ -763,21 +763,21 @@ display:
              separator: ''
              empty_column: false
              responsive: ''
            view_group_content:
            view_group_relationship:
              sortable: false
              default_sort_order: asc
              align: ''
              separator: ''
              empty_column: false
              responsive: ''
            edit_group_content:
            edit_group_relationship:
              sortable: false
              default_sort_order: asc
              align: ''
              separator: ''
              empty_column: false
              responsive: ''
            delete_group_content:
            delete_group_relationship:
              sortable: false
              default_sort_order: asc
              align: ''
@@ -820,10 +820,10 @@ display:
          relationship: none
          group_type: group
          admin_label: 'Group content Taxonomy term'
          entity_type: group_content
          plugin_id: group_content_to_entity
          entity_type: group_relationship
          plugin_id: group_relationship_to_entity
          required: true
          group_content_plugins:
          group_relation_plugins:
            'group_term:tags': '0'
      header: {  }
      footer: {  }
+4 −4
Original line number Diff line number Diff line
group_content.group_term_relate_page:
  route_name: 'entity.group_content.group_term_add_page'
group_relationship.group_term_relate_page:
  route_name: 'entity.group_relationship.group_term_add_page'
  title: 'Relate taxonomy term'
  appears_on:
    - 'view.group_terms.page_1'

group_content.group_term_add_page:
  route_name: 'entity.group_content.group_term_create_page'
group_relationship.group_term_add_page:
  route_name: 'entity.group_relationship.group_term_create_page'
  title: 'Create taxonomy term'
  appears_on:
    - 'view.group_terms.page_1'
+0 −3
Original line number Diff line number Diff line
@@ -5,11 +5,8 @@
 * Enables Group functionality for the Taxonomy term entities.
 */

use Drupal\Core\Access\AccessResult;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Url;
use Drupal\group\Entity\GroupRelationshipType;
use Drupal\taxonomy\Entity\Vocabulary;

/**
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\group\Plugin\Group\Relation\GroupRelationBase;

/**
 * Provides a content enabler for taxonomy terms.
 * Provides a group relation type plugin for taxonomy terms.
 *
 * @GroupRelationType(
 *   id = "group_term",
Loading