You are here

interface ChartAttachmentServiceInterface in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Services/ChartAttachmentServiceInterface.php \Drupal\charts\Services\ChartAttachmentServiceInterface
  2. 8 src/Services/ChartAttachmentServiceInterface.php \Drupal\charts\Services\ChartAttachmentServiceInterface
  3. 8.3 src/Services/ChartAttachmentServiceInterface.php \Drupal\charts\Services\ChartAttachmentServiceInterface

Defines an interface for Chart attachment service classes.

Hierarchy

Expanded class hierarchy of ChartAttachmentServiceInterface

All classes that implement ChartAttachmentServiceInterface

1 file declares its use of ChartAttachmentServiceInterface
ChartsPluginStyleChart.php in src/Plugin/views/style/ChartsPluginStyleChart.php

File

src/Services/ChartAttachmentServiceInterface.php, line 8

Namespace

Drupal\charts\Services
View source
interface ChartAttachmentServiceInterface {

  /**
   * Get Attachment Views.
   *
   * @return array
   *   Different views.
   */
  public function getAttachmentViews();

  /**
   * Set Attachment Views.
   *
   * @param array $attachmentViews
   *   Attach an array of views.
   */
  public function setAttachmentViews(array $attachmentViews = []);

}

Members