Generate custom field type Field types define the properties and behaviors of fields and are defined as plugins. LearnGenerate
Field formatter The field formatter formats the field data to be viewed by the end user and they are defined as plugins. LearnGenerate
Configuration schema file Make configuration exportable via the configuration management system and add support multiple languages LearnGenerate
Get your service from the container One option is to use service container in your existing controller (or create new) to access services. LearnGenerate
Create a service Service is reusable class which is accessed by using Drupal general API-s and systems. LearnGenerate