wayfinding-2.1.x-dev/src/Plugin/views/display/Wrapper.php

src/Plugin/views/display/Wrapper.php
<?php

namespace Drupal\wayfinding\Plugin\views\display;

use Drupal\views\Plugin\views\display\DisplayPluginBase;

/**
 * The plugin that handles a wayfinding wrapper.
 *
 * @ingroup views_display_plugins
 *
 * @ViewsDisplay(
 *   id = "wayfinding_wrapper",
 *   title = @Translation("Wayfinding Wrapper"),
 *   help = @Translation("Display the view as a wayfinding wrapper."),
 *   theme = "views_view_wayfinding_wrapper",
 *   register_theme = FALSE,
 *   uses_hook_block = FALSE,
 *   contextual_links_locations = {""},
 *   admin = @Translation("Wayfinding Wrapper")
 * )
 */
class Wrapper extends DisplayPluginBase {

  /**
   * {@inheritdoc}
   */
  protected $usesAJAX = FALSE;

  /**
   * {@inheritdoc}
   */
  protected $usesPager = FALSE;

  /**
   * {@inheritdoc}
   */
  protected $usesMore = FALSE;

  /**
   * {@inheritdoc}
   */
  protected $usesAttachments = TRUE;

  /**
   * {@inheritdoc}
   */
  protected $usesAreas = FALSE;

  /**
   * {@inheritdoc}
   */
  public function usesExposed(): bool {
    return FALSE;
  }

}

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

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