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();
}