Commit 9d871d3e authored by Martin Anderson-Clutz's avatar Martin Anderson-Clutz
Browse files

Issue #3285568 by mandclu: Speaker registration tweaks

parent 855a7ba9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ label: Speaker
weight: -8
is_admin: null
permissions:
  - 'create session content'
  - 'edit own session content'
  - 'revert session revisions'
  - 'use session_acceptance transition propose_session'
  - 'view session revisions'
+4 −0
Original line number Diff line number Diff line
@@ -15,6 +15,10 @@ function event_platform_sessions_install() {
  $config = \Drupal::configFactory()->getEditable('registration_role.setting');
  $config->set('role_to_select', ['speaker' => 'speaker'])->save();

  // Update registration_role config.
  $config = \Drupal::configFactory()->getEditable('user.settings');
  $config->set('register', 'visitors')->save();

  // Nested array to hold default term data.
  $terms['session_audience'] = [
    'All Attendees',
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ display:
          group_type: group
          admin_label: ''
          plugin_id: add_content_by_bundle
          label: 'Add Speaker'
          label: 'Add Featured Speaker'
          empty: true
          bundle: featured_speaker
          class: 'button button--primary button--action'
+1 −1
Original line number Diff line number Diff line
name: Event Platform Speakers
name: Event Platform Featured Speakers
type: module
description: Provides a content type and view to display featured speakers
package: Event Platform