assertContentTypeDoesntExistsByIdentifier()
public method
assertContentTypeExistsByIdentifier()
public method
assertContentTypeExistsByIdentifierOnGroup()
public method
assignContentGroupTypeToContentType()
protected method
protected assignContentGroupTypeToContentType ( eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup ) |
$contentType |
eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
$contentTypeGroup |
eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup |
|
checkContentTypeExistenceByIdentifier()
protected method
Verifies that a content type with $identifier exists.
createContentType()
public method
Creates a content type with $identifier on content type group with identifier $groupIdentifier and with the
given 'fields' definitions.
public createContentType ( string $groupIdentifier, string $identifier, array $fields ) : eZ\Publish\API\Repository\Values\ContentType\ContentType |
$groupIdentifier |
string |
content type group identifier |
$identifier |
string |
content type identifier |
$fields |
array |
content type fields definitions |
return |
eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
ensureContentTypeDoesntExist()
public method
ensureContentTypeWithIndentifier()
public method
public ensureContentTypeWithIndentifier ( $identifier, Behat\Gherkin\Node\TableNode $fields, $groupIdentifier = self::DEFAULT_GROUP ) |
$fields |
Behat\Gherkin\Node\TableNode |
|
loadContentTypeByIdentifier()
protected method
Load and return a content type by its identifier.
protected loadContentTypeByIdentifier ( string $identifier, boolean $throwIfNotFound = true ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup | null |
$identifier |
string |
content type identifier |
$throwIfNotFound |
boolean |
if true, throws an exception if it is not found. |
return |
eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup | null |
|
removeContentType()
protected method
Remove the given 'ContentType' object.
protected removeContentType ( eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType ) |
$contentType |
eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
$contentTypeGroupContext protected property
protected ContentTypeGroup,EzSystems\BehatBundle\Context\Object $contentTypeGroupContext |
return |
EzSystems\BehatBundle\Context\Object\ContentTypeGroup |
|
$contentTypeService protected property
protected ContentTypeService,eZ\Publish\API\Repository $contentTypeService |
return |
eZ\Publish\API\Repository\ContentTypeService |
|