function LinkAttributeCrudTest::createLink in Link 6.2
6 calls to LinkAttributeCrudTest::createLink()
- LinkAttributeCrudTest::testBasic in tests/link.attribute.test
- A simple test that just creates a new node type, adds a link field to it, creates a new node of that type, and makes sure
that the node is being displayed.
- LinkAttributeCrudTest::testLinkWithClassOnField in tests/link.attribute.test
- This test sees that we can create a link field with a defined class, and make sure
that class displays properly when the link is displayed.
- LinkAttributeCrudTest::testLinkWithNoFollowOnField in tests/link.attribute.test
- LinkAttributeCrudTest::testLinkWithNoFollowOnFieldTargetNewWindow in tests/link.attribute.test
- LinkAttributeCrudTest::testLinkWithNoFollowOnFieldTargetNewWindowAndAClass in tests/link.attribute.test
- Trying to reproduce exactly what's in issue #664990
... See full list
File
- tests/link.attribute.test, line 40
- Basic simpletests to test options on link module.
Class
- LinkAttributeCrudTest
Code
function createLink($url, $title, $attributes = array()) {
return array(
'url' => $url,
'title' => $title,
'attributes' => $attributes,
);
}