* The entity object. May be skipped by passing NULL as the argument, which
* defers to loading the current route's entity; this is an unintended
* consequence of the function's poor definition.
*
* @return array
* All of the meta tags in a nested structure.
*
* @deprecated in metatag:8.x-1.23 and is removed from metatag:2.0.0. Use metatag_generate_entity_all_tags() instead.
* @deprecated in metatag:8.x-1.23 and is removed from metatag:2.0.0. Use metatag_generate_entity_all_tags() instead; note that callers should always pass the entity to metatag_generate_entity_all_tags(), which is different from the behavior of metatag_generate_entity_metatags().