Error : Call to a member function find() on null dans simple_html_dom->find() (ligne 1113 dans /var/www/html/mydrupal/sites/all/libraries/simplehtmldom/simple_html_dom.php).
In a view i have a field that is a taxonomy term, I'd like to write an if statement that checks the value of the Taxonomy and replaces the output in the display to a different value.
EX:
Taxonomy terms says "rush", I'd like to change it to "fix now"
I am putting together a module which has a custom field which can be assigned to any "content type" which is fieldable. As an example, this could include node, users, taxonomy terms, etc.
Within the module i need to do things like: get entities in specific bundle, get bundle display name, etc.
In my code i use a loop through entityManager()->getFieldMap() to get a list of entity_type.bundles that have my custom field attached, so for my example site i have: