You are here

class DisplayNoAreaTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php \Drupal\views_test_data\Plugin\views\display\DisplayNoAreaTest
  2. 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayNoAreaTest.php \Drupal\views_test_data\Plugin\views\display\DisplayNoAreaTest

Defines a Display test plugin with areas disabled.

Plugin annotation


@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"}
)

Hierarchy

  • class \Drupal\views_test_data\Plugin\views\display\DisplayTest extends \Drupal\views\Plugin\views\display\DisplayPluginBase

Expanded class hierarchy of DisplayNoAreaTest

File

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

Namespace

Drupal\views_test_data\Plugin\views\display
View source
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;

}

Members

Namesort descending Modifiers Type Description Overrides
DisplayNoAreaTest::$usesAreas protected property Whether the display allows area plugins.
DisplayTest::$usesAttachments protected property Whether the display allows attachments.
DisplayTest::buildOptionsForm public function
DisplayTest::calculateDependencies public function
DisplayTest::defineOptions protected function
DisplayTest::execute public function
DisplayTest::getType public function
DisplayTest::optionsSummary public function
DisplayTest::preview public function
DisplayTest::submitOptionsForm public function
DisplayTest::validate public function
DisplayTest::validateOptionsForm public function