interface WebformAnalysisChartInterface in Webform Analysis 8
Webform Analysis Chart Interface.
Hierarchy
- interface \Drupal\webform_analysis\WebformAnalysisChartInterface
Expanded class hierarchy of WebformAnalysisChartInterface
All classes that implement WebformAnalysisChartInterface
File
- src/
WebformAnalysisChartInterface.php, line 8
Namespace
Drupal\webform_analysisView source
interface WebformAnalysisChartInterface {
/**
* Build.
*
* @param array $build
* Build.
*/
public function build(array &$build = []);
/**
* Build Components Data.
*
* @return array
* Renderable.
*/
public function buildComponentsData();
/**
* Build Component Data.
*
* @param \Drupal\webform_analysis\WebformAnalysisInterface $analysis
* Analysis.
* @param string $component
* Component.
* @param string $id
* Id.
*
* @return array
* Renderable.
*/
public function buildComponentData(WebformAnalysisInterface $analysis, $component = '', $id = '');
/**
* CreateComponentId.
*
* @param string $component
* Component name.
*
* @return string
* Component Id.
*/
public function createComponentId($component);
/**
* Create Chart.
*
* @param string $id
* Id.
*
* @return array
* Renderable.
*/
public function createChart($id);
/**
* Get Header.
*
* @return array
* Header.
*/
public function getHeader();
/**
* Build Pie Chart.
*
* @param \Drupal\webform_analysis\WebformAnalysisInterface $analysis
* Analysis.
* @param string $component
* Component.
* @param array $header
* Header.
*
* @return array
* Pie Chart.
*/
public function buildPieChart(WebformAnalysisInterface $analysis, $component = '', array $header = []);
/**
* Build Attached Settings.
*
* @param array $charts
* Charts.
*
* @return array
* Attached Settings.
*/
public function buildAttachedSettings(array $charts = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformAnalysisChartInterface:: |
public | function | Build. | 1 |
WebformAnalysisChartInterface:: |
public | function | Build Attached Settings. | 1 |
WebformAnalysisChartInterface:: |
public | function | Build Component Data. | 1 |
WebformAnalysisChartInterface:: |
public | function | Build Components Data. | 1 |
WebformAnalysisChartInterface:: |
public | function | Build Pie Chart. | 1 |
WebformAnalysisChartInterface:: |
public | function | Create Chart. | 1 |
WebformAnalysisChartInterface:: |
public | function | CreateComponentId. | 1 |
WebformAnalysisChartInterface:: |
public | function | Get Header. | 1 |