public function FieldTestPermissionsExample::testAddRemoveFieldnoteCode in Examples for Developers 7
Add and remove the field through code.
File
- field_permission_example/
tests/ field_permission_example.test, line 449 - Tests for Field Permission Example.
Class
Code
public function testAddRemoveFieldnoteCode() {
$node_type = $this
->codeTestGenericAddAllFields();
$this
->codeTestGenericRemoveAllFields($node_type);
}