public function ContextTypedDataTest::getCanonicalRepresentation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTypedDataTest.php \Drupal\Tests\Core\Plugin\Context\ContextTypedDataTest::getCanonicalRepresentation()
Helper mock callback to return the typed data value.
File
- core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTypedDataTest.php, line 64 - Contains \Drupal\Tests\Core\Plugin\Context\ContextTypedDataTest.
Class
- ContextTypedDataTest
- Tests that contexts work properly with the typed data manager.
Namespace
Drupal\Tests\Core\Plugin\ContextCode
public function getCanonicalRepresentation() {
return $this->typedData
->getValue();
}