namespace Drupal\metatag;
use Drupal\Core\Entity\ContentEntityInterface;
+use Drupal\views\ViewEntityInterface;
/**
* Class MetatagManager.
*/
public function tagsFromEntity(ContentEntityInterface $entity);
+ /**
+ * Extracts all tags of a given entity, and combines them with sitewide,
+ * per-entity-type, and per-bundle defaults.
+ *
+ * @param \Drupal\Core\Entity\ContentEntityInterface $entity
+ * The content entity to extract metatags from.
+ *
+ * @return array
+ * Array of metatags.
+ */
+ public function tagsFromEntityWithDefaults(ContentEntityInterface $entity);
+
+ /**
+ * Extracts all appropriate default tags for an entity, from sitewide,
+ * per-entity-type, and per-bundle defaults.
+ *
+ * @param \Drupal\Core\Entity\ContentEntityInterface $entity
+ * The content entity for which to calculate defaults.
+ *
+ * @return array
+ * Array of metatags.
+ */
+ public function defaultTagsFromEntity(ContentEntityInterface $entity);
+
/**
* Returns an array of group plugin information sorted by weight.
*