function DisplayPluginBase::getType

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getType()
  2. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getType()
  3. 10 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getType()

Overrides DisplayPluginInterface::getType

1 call to DisplayPluginBase::getType()
DisplayPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Provide a form to edit options for this plugin.
4 methods override DisplayPluginBase::getType()
DisplayTest::getType in core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php
Returns the display type that this display requires.
EntityReference::getType in core/modules/views/src/Plugin/views/display/EntityReference.php
Returns the display type that this display requires.
Feed::getType in core/modules/views/src/Plugin/views/display/Feed.php
Returns the display type that this display requires.
RestExport::getType in core/modules/rest/src/Plugin/views/display/RestExport.php
Returns the display type that this display requires.

File

core/modules/views/src/Plugin/views/display/DisplayPluginBase.php, line 2473

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function getType() {
    return 'normal';
}

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