eZ\Bundle\EzPublishRestBundle\Features\Context\SubContext\ContentTypeGroup::createContentTypeGroupWithIdentifier PHP Method

createContentTypeGroupWithIdentifier() public method

public createContentTypeGroupWithIdentifier ( $identifier )
    public function createContentTypeGroupWithIdentifier($identifier)
    {
        $this->createRequest('post', '/content/typegroups');
        $this->setHeaderWithObject('content-type', 'ContentTypeGroupInput');
        $this->setHeaderWithObject('accept', 'ContentTypeGroup');
        $this->makeObject('ContentTypeGroupCreateStruct');
        $this->setFieldToValue('identifier', $identifier);
        $this->sendRequest();
    }