You are here

function _smart_title_view_configurable_base_fields in Smart Title 8

Get display configurable node fields.

@TODO: convert to config.

Return value

array Array of display configurable base field's name.

3 calls to _smart_title_view_configurable_base_fields()
smart_title_entity_base_field_info_alter in ./smart_title.module
Implements hook_entity_base_field_info_alter().
smart_title_node_view_alter in ./smart_title.module
Implements hook_ENTITY_TYPE_view_alter() for node.
smart_title_preprocess in ./smart_title.module
Implements hook_preprocess().

File

./smart_title.module, line 201
Contains hooks and private functions of smart_title.module.

Code

function _smart_title_view_configurable_base_fields($entity_type_id) {
  $configurable_base_fields = [];
  \Drupal::moduleHandler()
    ->alter('smart_title_view_configurable_base_fields', $configurable_base_fields, $entity_type_id);
  return $configurable_base_fields;
}