addContentTypeDraftFieldDefinition()
public method
Creates a new field definition for the given content type draft.
public addContentTypeDraftFieldDefinition ( $contentTypeId, Request $request ) : CreatedFieldDefinition |
$contentTypeId |
|
|
$request |
Symfony\Component\HttpFoundation\Request |
|
return |
eZ\Publish\Core\REST\Server\Values\CreatedFieldDefinition |
|