You are here

class AttachmentsTestDomainObject in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php \Drupal\early_rendering_controller_test\AttachmentsTestDomainObject
  2. 9 core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php \Drupal\early_rendering_controller_test\AttachmentsTestDomainObject

Hierarchy

Expanded class hierarchy of AttachmentsTestDomainObject

2 string references to 'AttachmentsTestDomainObject'
EarlyRenderingControllerTest::testEarlyRendering in core/modules/system/tests/src/Functional/Common/EarlyRenderingControllerTest.php
Tests theme preprocess functions being able to attach assets.
TestDomainObjectViewSubscriber::onViewTestDomainObject in core/modules/system/tests/modules/early_rendering_controller_test/src/TestDomainObjectViewSubscriber.php
Sets a response given a TestDomainObject instance.

File

core/modules/system/tests/modules/early_rendering_controller_test/src/AttachmentsTestDomainObject.php, line 8

Namespace

Drupal\early_rendering_controller_test
View source
class AttachmentsTestDomainObject extends TestDomainObject implements AttachmentsInterface {
  use AttachmentsTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
AttachmentsTrait::$attachments protected property The attachments for this response.
AttachmentsTrait::addAttachments public function
AttachmentsTrait::getAttachments public function
AttachmentsTrait::setAttachments public function