if (parent::
applies($definition,
$name,
$route)) { $entity_type_id =
substr($definition['type'
],
strlen('entity:'
));
// If the entity type is dynamic, defer checking to self::convert().
if (str_starts_with($entity_type_id, '{'
)) { return TRUE;
} // As we only want to override EntityConverter for ConfigEntities, find
// out whether the current entity is a ConfigEntity.
$entity_type =
$this->entityTypeManager->
getDefinition($entity_type_id);
if ($entity_type->
entityClassImplements(ConfigEntityInterface::
class)) { return $this->adminContext->
isAdminRoute($route);
} } return FALSE;
}}