Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
addExistingField example
/** * Runs the field CRUD tests. * * In order to act on the same fields, and not create the fields over and over * again the following tests create, update and delete the same fields. */
public
function
testCRUDFields
(
)
{
$this
->
manageFieldsPage
(
)
;
$this
->
createField
(
)
;
$this
->
updateField
(
)
;
$this
->
addExistingField
(
)
;
$this
->
cardinalitySettings
(
)
;
$this
->
fieldListAdminPage
(
)
;
$this
->
deleteField
(
)
;
$this
->
addPersistentFieldStorage
(
)
;
}
/** * Tests the manage fields page. * * @param string $type * (optional) The name of a content type. */