Created
December 20, 2018 11:59
-
-
Save szeidler/b5ecf6a50dd2e5a96a8462bcde7975d1 to your computer and use it in GitHub Desktop.
Get the human-readable content type of a node object.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Drupal::config('node.type.' . $node->bundle())->get(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment