public function DisplayPluginBase::attachTo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::attachTo()
Allows displays to attach to other views.
Parameters
\Drupal\views\ViewExecutable $view: The views executable.
string $display_id: The display to attach to.
array $build: The parent view render array.
Overrides DisplayPluginInterface::attachTo
2 methods override DisplayPluginBase::attachTo()
- Attachment::attachTo in core/
modules/ views/ src/ Plugin/ views/ display/ Attachment.php - Allows displays to attach to other views.
- Feed::attachTo in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Allows displays to attach to other views.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 402 - Contains \Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function attachTo(ViewExecutable $view, $display_id, array &$build) {
}