Get list of available options in a select field of custom content type
$definitions = \Drupal::service('entity_field.manager')-&gt;getFieldDefinitions('node', 'slide');
$definition = $definitions['field_category'];
$settings = $definition-&gt;getSettings();
$allowed_values = $settings['allowed_values'];