You are here

public function ChartAttachmentService::setAttachmentViews in Charts 8

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

Parameters

$attachmentViews is an array of views.:

Overrides ChartAttachmentServiceInterface::setAttachmentViews

File

src/Services/ChartAttachmentService.php, line 26

Class

ChartAttachmentService
Class ChartAttachmentService

Namespace

Drupal\charts\Services

Code

public function setAttachmentViews($attachmentViews) {
  $this->attachmentViews = $attachmentViews;
}