You are here

protected function LinkFieldValidateTest::createLink in Link 7

Create Link.

File

tests/LinkFieldValidateTest.test, line 27
Link field Validation Tests.

Class

LinkFieldValidateTest
Link field Validation Tests.

Code

protected function createLink($url, $title, $attributes = array()) {
  return array(
    'url' => $url,
    'title' => $title,
    'attributes' => $attributes,
  );
}