You are here

function ChartsPluginStyleChart::getChildrenChartDisplays in Charts 8

Same name and namespace in other branches
  1. 8.4 src/Plugin/views/style/ChartsPluginStyleChart.php \Drupal\charts\Plugin\views\style\ChartsPluginStyleChart::getChildrenChartDisplays()
  2. 8.3 src/Plugin/views/style/ChartsPluginStyleChart.php \Drupal\charts\Plugin\views\style\ChartsPluginStyleChart::getChildrenChartDisplays()
  3. 5.0.x src/Plugin/views/style/ChartsPluginStyleChart.php \Drupal\charts\Plugin\views\style\ChartsPluginStyleChart::getChildrenChartDisplays()

Utility function to check if this chart has children displays.

1 call to ChartsPluginStyleChart::getChildrenChartDisplays()
ChartsPluginStyleChart::render in src/Plugin/views/style/ChartsPluginStyleChart.php
Render the display in this style.

File

src/Plugin/views/style/ChartsPluginStyleChart.php, line 373

Class

ChartsPluginStyleChart
Style plugin to render view as a chart.

Namespace

Drupal\charts\Plugin\views\style

Code

function getChildrenChartDisplays() {
  $children_displays = $this->displayHandler
    ->getAttachedDisplays();
  return $children_displays;
}