social_lms_integrator-1.0.0-beta4/modules/social_lms_integrator_iteration_enrollments_export/src/SocialLMSIntegratorIterationEnrollmentsExportOverrides.php

modules/social_lms_integrator_iteration_enrollments_export/src/SocialLMSIntegratorIterationEnrollmentsExportOverrides.php
<?php

namespace Drupal\social_lms_integrator_iteration_enrollments_export;

use Drupal\Core\Cache\CacheableMetadata;
use Drupal\Core\Config\ConfigFactoryOverrideInterface;
use Drupal\Core\Config\StorageInterface;

/**
 * Configuration override.
 */
class SocialLMSIntegratorIterationEnrollmentsExportOverrides implements ConfigFactoryOverrideInterface {

  /**
   * {@inheritdoc}
   */
  public function loadOverrides($names) {
    $overrides = [];

    $config_name = 'views.view.iteration_manage_enrollments';

    /*

    if (in_array($config_name, $names)) {
      $overrides[$config_name] = [
        'display' => [
          'default' => [
            'display_options' => [
              'fields' => [
                'social_views_bulk_operations_bulk_form_iteration_enrollments_1' => [
                  'selected_actions' => [
                    'social_lms_integrator_iteration_enrollments_export_enrollments_action' => 'social_lms_integrator_iteration_enrollments_export_enrollments_action',
                  ],
                  'preconfiguration' => [
                    'social_lms_integrator_iteration_enrollments_export_enrollments_action' => [
                      'label_override' => 'Export',
                    ],
                  ],
                ],
              ],
            ],
          ],
        ],
      ];
    }

    */

    return $overrides;
  }

  /**
   * {@inheritdoc}
   */
  public function getCacheSuffix() {
    return 'SocialEventEnrolmentsExportOverrides';
  }

  /**
   * {@inheritdoc}
   */
  public function getCacheableMetadata($name) {
    return new CacheableMetadata();
  }

  /**
   * {@inheritdoc}
   */
  public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
    return NULL;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc