You are here

class ChartAttachmentService in Charts 5.0.x

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

Class ChartAttachmentService.

@package Drupal\charts\Services.

Hierarchy

Expanded class hierarchy of ChartAttachmentService

1 file declares its use of ChartAttachmentService
ChartAttachmentServiceTest.php in tests/src/Unit/Services/ChartAttachmentServiceTest.php
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 10

Namespace

Drupal\charts\Services
View source
class ChartAttachmentService implements ChartAttachmentServiceInterface {

  /**
   * The view attachment.
   *
   * @var array
   */
  private $attachmentViews;

  /**
   * {@inheritdoc}
   */
  public function getAttachmentViews() {
    return $this->attachmentViews;
  }

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

}

Members