Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
simple_sitemap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
3
Merge Requests
3
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
simple_sitemap
Commits
f1998727
Commit
f1998727
authored
May 13, 2016
by
Pawel G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move plugins to a subdirectory for other modules to easier implement simple_sitemap plugins
parent
c75da70c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
src/Plugin/simple_sitemap/LinkGenerator/CommerceProductType.php
...ugin/simple_sitemap/LinkGenerator/CommerceProductType.php
+2
-2
src/Plugin/simple_sitemap/LinkGenerator/Menu.php
src/Plugin/simple_sitemap/LinkGenerator/Menu.php
+2
-2
src/Plugin/simple_sitemap/LinkGenerator/NodeType.php
src/Plugin/simple_sitemap/LinkGenerator/NodeType.php
+2
-2
src/Plugin/simple_sitemap/LinkGenerator/TaxonomyVocabulary.php
...lugin/simple_sitemap/LinkGenerator/TaxonomyVocabulary.php
+2
-2
src/Plugin/simple_sitemap/LinkGenerator/User.php
src/Plugin/simple_sitemap/LinkGenerator/User.php
+2
-2
src/SimplesitemapManager.php
src/SimplesitemapManager.php
+1
-1
No files found.
src/Plugin/LinkGenerator/CommerceProductType.php
→
src/Plugin/
simple_sitemap/
LinkGenerator/CommerceProductType.php
View file @
f1998727
<?php
/**
* @file
* Contains \Drupal\simple_sitemap\Plugin\LinkGenerator\CommerceProductType.
* Contains \Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator\CommerceProductType.
*
* Plugin for commerce product entity link generation.
*/
namespace
Drupal\simple_sitemap\Plugin\LinkGenerator
;
namespace
Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator
;
use
Drupal\simple_sitemap
\
LinkGeneratorBase
;
...
...
src/Plugin/LinkGenerator/Menu.php
→
src/Plugin/
simple_sitemap/
LinkGenerator/Menu.php
View file @
f1998727
<?php
/**
* @file
* Contains \Drupal\simple_sitemap\LinkGenerator\Menu.
* Contains \Drupal\simple_sitemap\
Plugin\simple_sitemap\
LinkGenerator\Menu.
*
* Plugin for menu entity link generation.
*/
namespace
Drupal\simple_sitemap\Plugin\LinkGenerator
;
namespace
Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator
;
use
Drupal\simple_sitemap
\
LinkGeneratorBase
;
...
...
src/Plugin/LinkGenerator/NodeType.php
→
src/Plugin/
simple_sitemap/
LinkGenerator/NodeType.php
View file @
f1998727
<?php
/**
* @file
* Contains \Drupal\simple_sitemap\Plugin\LinkGenerator\NodeType.
* Contains \Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator\NodeType.
*
* Plugin for node entity link generation.
*/
namespace
Drupal\simple_sitemap\Plugin\LinkGenerator
;
namespace
Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator
;
use
Drupal\simple_sitemap
\
LinkGeneratorBase
;
...
...
src/Plugin/LinkGenerator/TaxonomyVocabulary.php
→
src/Plugin/
simple_sitemap/
LinkGenerator/TaxonomyVocabulary.php
View file @
f1998727
<?php
/**
* @file
* Contains \Drupal\simple_sitemap\LinkGenerator\TaxonomyVocabulary.
* Contains \Drupal\simple_sitemap\
Plugin\simple_sitemap\
LinkGenerator\TaxonomyVocabulary.
*
* Plugin for taxonomy term entity link generation.
*/
namespace
Drupal\simple_sitemap\Plugin\LinkGenerator
;
namespace
Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator
;
use
Drupal\simple_sitemap
\
LinkGeneratorBase
;
...
...
src/Plugin/LinkGenerator/User.php
→
src/Plugin/
simple_sitemap/
LinkGenerator/User.php
View file @
f1998727
<?php
/**
* @file
* Contains \Drupal\simple_sitemap\Plugin\LinkGenerator\User.
* Contains \Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator\User.
*
* Plugin for user link generation.
*/
namespace
Drupal\simple_sitemap\Plugin\LinkGenerator
;
namespace
Drupal\simple_sitemap\Plugin\
simple_sitemap\
LinkGenerator
;
use
Drupal\simple_sitemap
\
LinkGeneratorBase
;
...
...
src/SimplesitemapManager.php
View file @
f1998727
...
...
@@ -27,7 +27,7 @@ class SimplesitemapManager extends DefaultPluginManager {
* The module handler to invoke the alter hook with.
*/
public
function
__construct
(
\
Traversable
$namespaces
,
CacheBackendInterface
$cache_backend
,
ModuleHandlerInterface
$module_handler
)
{
parent
::
__construct
(
'Plugin/LinkGenerator'
,
$namespaces
,
$module_handler
,
'Drupal\simple_sitemap\LinkGeneratorInterface'
,
'Drupal\simple_sitemap\Annotation\LinkGenerator'
);
parent
::
__construct
(
'Plugin/
simple_sitemap/
LinkGenerator'
,
$namespaces
,
$module_handler
,
'Drupal\simple_sitemap\LinkGeneratorInterface'
,
'Drupal\simple_sitemap\Annotation\LinkGenerator'
);
$this
->
alterInfo
(
'simple_sitemap_link_generators_info'
);
$this
->
setCacheBackend
(
$cache_backend
,
'simple_sitemap_link_generators'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment