Skip to content

Commit

Permalink
Use fully qualified namespace for @use statements (#3341)
Browse files Browse the repository at this point in the history
`@use` statements are part of documentation and are shown in rendered documentation. They should use fully qualified namespaces. This also ensures that the developer can navigate to the classes in their IDE.
  • Loading branch information
pfrenssen authored and jmolivas committed Jun 10, 2017
1 parent bbfe1e8 commit 03cb470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/module/src/entity-content-route-provider.php.twig
Expand Up @@ -18,8 +18,8 @@ use Symfony\Component\Routing\Route;
/**
* Provides routes for {{ label }} entities.
*
* @see Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
* @see Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
* @see \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
* @see \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
*/
class {{ entity_class }}HtmlRouteProvider extends AdminHtmlRouteProvider {% endblock %}
{% block class_methods %}
Expand Down

0 comments on commit 03cb470

Please sign in to comment.