function TestAttribute::get

Same name and namespace in other branches
  1. 10 core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php \Drupal\Tests\Component\Plugin\Discovery\TestAttribute::get()

Overrides AttributeBase::get

File

core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php, line 84

Class

TestAttribute

Namespace

Drupal\Tests\Component\Plugin\Discovery

Code

public function get() : object {
    return new ObjectDefinition(parent::get());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.