You are here

public function MigrateMetatagHandler::__construct in Metatag 7

Identify a list of supported entity types.

Overrides MigrateHandler::__construct

File

./metatag.migrate.inc, line 91

Class

MigrateMetatagHandler
Metatag destination handler.

Code

public function __construct() {
  $entity_types = metatag_entity_supports_metatags();
  $entity_types = array_filter($entity_types);
  $entity_types = array_keys($entity_types);
  $this
    ->registerTypes($entity_types);
}