You are here

class ChartAttachmentService in Charts 8

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

Class ChartAttachmentService

@package Drupal\charts\Services.

Hierarchy

Expanded class hierarchy of ChartAttachmentService

1 string reference to 'ChartAttachmentService'
charts.services.yml in ./charts.services.yml
charts.services.yml
1 service uses ChartAttachmentService
charts.charts_attachment in ./charts.services.yml
Drupal\charts\Services\ChartAttachmentService

File

src/Services/ChartAttachmentService.php, line 11

Namespace

Drupal\charts\Services
View source
class ChartAttachmentService implements ChartAttachmentServiceInterface {
  private $attachmentViews;

  /**
   * @return $attachmentViews an array of different views.
   */
  public function getAttachmentViews() {
    return $this->attachmentViews;
  }

  /**
   * @param $attachmentViews is an array of views.
   */
  public function setAttachmentViews($attachmentViews) {
    $this->attachmentViews = $attachmentViews;
  }

}

Members