Skip to content

vbouchet31/drupal-entity-type-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Entity type explorer

Purpose

Analyse the content structure of a Drupal site by providing a quick overview of the content types, their fields and relations. The result is a link to an online Graphviz visualizer.

Graphviz

Installation

This script does not require any specific installation. Just download the file and run it from the command line using drush php:script entity-type-explorer.

Usage

Out of the box, the script is restricting the analysis to the following entity types:

  • Block content
  • Comment
  • Media
  • Node
  • Taxonomy
  • Paragraph

You can change this list by editing the $explored_entity_types variable in the script.

For the visibility of the generated graph, the script is only displaying and exploring the following fields:

  • Body
  • Info (the Block Content title field)
  • Name (the Taxonomy term name field)
  • Description (the Taxonomy term description field)
  • Comment
  • field_* (all other fields)

You can change this list by editing the $explored_field_names variable in the script.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages