Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
deleteField example
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. */
public
function
manageFieldsPage
(
$type
= ''
)
{
$type
=
empty
(
$type
)
?
$this
->contentType :
$type
;