public function ChartAttachmentService::setAttachmentViews in Charts 5.0.x
Same name and namespace in other branches
- 8.4 src/Services/ChartAttachmentService.php \Drupal\charts\Services\ChartAttachmentService::setAttachmentViews()
- 8 src/Services/ChartAttachmentService.php \Drupal\charts\Services\ChartAttachmentService::setAttachmentViews()
- 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\ServicesCode
public function setAttachmentViews(array $attachmentViews = []) {
$this->attachmentViews = $attachmentViews;
}