File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
src/Sandbox/MainBundle/Document Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ class AdminTest extends WebTestCase
1010 protected $ router ;
1111
1212 protected $ verifiablePatterns = array (
13- '/cmf/content/staticcontent /list ' ,
14- '/cmf/content/staticcontent /create ' ,
15- '/cmf/content/staticcontent /{id}/edit ' ,
16- '/cmf/content/staticcontent /{id}/delete ' ,
13+ '/cmf/content/demoseocontent /list ' ,
14+ '/cmf/content/demoseocontent /create ' ,
15+ '/cmf/content/demoseocontent /{id}/edit ' ,
16+ '/cmf/content/demoseocontent /{id}/delete ' ,
1717 '/cmf/block/simpleblock/list ' ,
1818 '/cmf/block/simpleblock/create ' ,
1919 '/cmf/block/simpleblock/{id}/edit ' ,
Original file line number Diff line number Diff line change 44
55use Doctrine \ODM \PHPCR \Mapping \Annotations as PHPCRODM ;
66use Symfony \Cmf \Bundle \SeoBundle \Extractor \SeoDescriptionReadInterface ;
7+ use Symfony \Cmf \Bundle \SeoBundle \Extractor \SeoKeywordsReadInterface ;
78use Symfony \Cmf \Bundle \SeoBundle \Extractor \SeoOriginalUrlReadInterface ;
89use Symfony \Cmf \Bundle \SeoBundle \Extractor \SeoTitleReadInterface ;
910
1819class DemoSeoExtractor extends DemoSeoContent implements
1920 SeoTitleReadInterface,
2021 SeoDescriptionReadInterface,
21- SeoOriginalUrlReadInterface
22+ SeoOriginalUrlReadInterface,
23+ SeoKeywordsReadInterface
2224{
2325 /**
2426 * {@inheritDoc}
@@ -43,4 +45,12 @@ public function getSeoOriginalUrl()
4345 {
4446 return "/home " ;
4547 }
48+
49+ /**
50+ * {@inheritDoc}
51+ */
52+ public function getSeoKeywords ()
53+ {
54+ return $ this ->getTags ();
55+ }
4656}
You can’t perform that action at this time.
0 commit comments