Gutenberg Support For Custom_Post_Type
Enable or disable the block editor via a class property
Set the property and all requirements and/or filters will be taken care of automatically.
$post = new Custom_Post_Type_Extended( 'products' );
$post->gutenberg_compatible = false;