Controller routine for testing the paramconverter.
Expanded class hierarchy of TestControllers
class TestControllers {
public function testUserNodeFoo($user, $node, $foo) {
$retval = "user: " . (is_object($user) ? $user
->label() : $user);
$retval .= ", node: " . (is_object($node) ? $node
->label() : $node);
$retval .= ", foo: " . (is_object($foo) ? $foo
->label() : $foo);
return $retval;
}
public function testNodeSetParent(EntityInterface $node, EntityInterface $parent) {
return "Setting '{$parent->title}' as parent of '{$node->title}'.";
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestControllers:: |
public | function | ||
TestControllers:: |
public | function |