Skip to content

Commit

Permalink
update path to share twig files
Browse files Browse the repository at this point in the history
  • Loading branch information
dmouse committed Jul 12, 2014
1 parent 871599f commit 4932e5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Resources/skeleton/module/src/Plugin/Block/block.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Drupal\{{module}}\Plugin\Block;
use Drupal\block\BlockBase;
{% if services is not empty %}
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
{% include 'skeleton/module/shared/services-use-operator.php.twig' %}
{% include 'module/shared/services-use-operator.php.twig' %}
{% endif %}
/**
Expand All @@ -22,7 +22,7 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
*/
class {{class_name}} extends BlockBase {% if services is not empty %}implements ContainerFactoryPluginInterface{% endif %} {{"\n"}}{
{% if services is not empty %}
{% include 'skeleton/module/shared/services-class-properties-declaration.php.twig' %}
{% include 'module/shared/services-class-properties-declaration.php.twig' %}
/**
* Construct.
*
Expand All @@ -40,7 +40,7 @@ class {{class_name}} extends BlockBase {% if services is not empty %}implements
{{ servicesAsParameters(services)|join(', \n\t') }}
) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
{% include 'skeleton/module/shared/services-class-properties-initialization.php.twig' %}
{% include 'module/shared/services-class-properties-initialization.php.twig' %}
}
/**
Expand All @@ -52,7 +52,7 @@ class {{class_name}} extends BlockBase {% if services is not empty %}implements
$configuration,
$plugin_id,
$plugin_definition,
{% include 'skeleton/module/shared/services-class-properties-injection.php.twig' %}
{% include 'module/shared/services-class-properties-injection.php.twig' %}
);
}
{% endif %}
Expand Down

0 comments on commit 4932e5d

Please sign in to comment.