File
- drupal/core/modules/system/tests/modules/paramconverter_test/lib/Drupal/paramconverter_test/TestControllers.php, line 24
- Contains Drupal\paramconverter_test\TestControllers.
Class
- TestControllers
- Controller routine for testing the paramconverter.
Namespace
Drupal\paramconverter_test
Code
public function testNodeSetParent(EntityInterface $node, EntityInterface $parent) {
return "Setting '{$parent->title}' as parent of '{$node->title}'.";
}