protected function PMPAPIPushWebTestCase::createFields in Public Media Platform API Integration 7
Creates fields.
Parameters
$fields: The fields to be created.
File
- pmpapi_push/
tests/ pmpapi_push.test, line 217
Class
- PMPAPIPushWebTestCase
- Tests the functionality of the PMPAPI push module.
Code
protected function createFields($fields) {
foreach ($fields as $field) {
field_create_field($field);
}
}