Version 1
[yaffs-website] / web / modules / contrib / devel / webprofiler / src / DrupalDataCollectorInterface.php
1 <?php
2
3 namespace Drupal\webprofiler;
4
5 /**
6  * Interface DrupalDataCollectorInterface.
7  */
8 interface DrupalDataCollectorInterface {
9
10   /**
11    * Returns the datacollector title.
12    *
13    * @return string
14    *   The datacollector title.
15    */
16   public function getTitle();
17
18   /**
19    * Returns the name of the collector.
20    *
21    * @return string
22    *   The collector name.
23    */
24   public function getName();
25
26   /**
27    * Returns the string used in vertical tab summary.
28    *
29    * @return string
30    *   The panel summary.
31    */
32   public function getPanelSummary();
33
34   /**
35    * Returns the collector icon in base64 format.
36    *
37    * @return string
38    *   The collector icon.
39    */
40   public function getIcon();
41
42   /**
43    * Returns true if this datacollector has a detail panel.
44    *
45    * @return bool
46    *   True if datacollector has a detail panel, false otherwise.
47    */
48   public function hasPanel();
49
50   /**
51    * Returns the libraries needed in detail panel.
52    *
53    * @return array
54    *   The render array for detail panel.
55    */
56   public function getLibraries();
57
58   /**
59    * @return array
60    */
61   public function getDrupalSettings();
62
63   /**
64    * @return mixed
65    */
66   public function getData();
67 }