DisplayNoAreaTest.php

Same filename and directory in other branches
  1. 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php
  2. 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php
  3. 11.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php

Namespace

Drupal\views_test_data\Plugin\views\display

File

core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php

View source
<?php

namespace Drupal\views_test_data\Plugin\views\display;


/**
 * Defines a Display test plugin with areas disabled.
 *
 * @ViewsDisplay(
 *   id = "display_no_area_test",
 *   title = @Translation("Display test no area"),
 *   help = @Translation("Defines a display test with areas disabled."),
 *   theme = "views_view",
 *   register_theme = FALSE,
 *   contextual_links_locations = {"view"}
 * )
 */
class DisplayNoAreaTest extends DisplayTest {
    
    /**
     * Whether the display allows area plugins.
     *
     * @var bool
     *   TRUE if the display can use areas, or FALSE otherwise.
     */
    protected $usesAreas = FALSE;

}

Classes

Title Deprecated Summary
DisplayNoAreaTest Defines a Display test plugin with areas disabled.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.