Create Field and Field Type which cannot be created or accessed by user in administration UI in drupal 8

 

In many scenarios you may wish to create fieldtype which cannot be accessed or created by admin user by UI in administration, Say for example 

you are creating a module that module have field type which is only used to do your module related content, it should not be attached to other content type through Admin UI by add fields.

Create fied type programmatically and disable listing in admin add field  form

 You can simple do it by defining parameter in annotations on top of your field type class definition .

no_ui = TRUE