function micon_content_type_entity_type_alter in Micon 8
Same name and namespace in other branches
- 2.x micon_content_type/micon_content_type.module \micon_content_type_entity_type_alter()
Implements hook_entity_type_alter().
File
- micon_content_type/
micon_content_type.module, line 85 - Contains micon_content_type.module.
Code
function micon_content_type_entity_type_alter(array &$entity_types) {
/* @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
$entity_types['node_type']
->setListBuilderClass('Drupal\\micon_content_type\\MiconContentTypeListBuilder');
}