You are here

public function ChartAttachmentService::setAttachmentViews in Charts 5.0.x

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

Set Attachment Views.

Parameters

array $attachmentViews: Attach an array of views.

Overrides ChartAttachmentServiceInterface::setAttachmentViews

File

src/Services/ChartAttachmentService.php, line 29

Class

ChartAttachmentService
Class ChartAttachmentService.

Namespace

Drupal\charts\Services

Code

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