1 field_permission_example.test | public FieldTestPermissionsExample::createFieldContentForUser(
$account = NULL,
$content = 'fieldnote_testable_content',
$node_type = NULL,
$instance_name = '',
$column = 'notes'
) |
Override createFieldContentForUser().
We override so we can make sure $column is set to 'notes'.
Overrides GenericFieldTest::createFieldContentForUser
File
- modules/
examples/ field_permission_example/ tests/ field_permission_example.test, line 392 - Tests for Field Permission Example.
Class
Code
public function createFieldContentForUser(
$account = NULL,
$content = 'fieldnote_testable_content',
$node_type = NULL,
$instance_name = '',
$column = 'notes'
) {
return parent::createFieldContentForUser($account, $content, $node_type, $instance_name, $column);
}