‪TYPO3CMS  ‪main
TwitterCardMetaTagManager.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
18 namespace ‪TYPO3\CMS\Seo\MetaTag;
19 
21 
26 {
32  protected ‪$handledProperties = [
33  'twitter:card' => [],
34  'twitter:site' => [
35  'allowedSubProperties' => [
36  'id' => [],
37  ],
38  ],
39  'twitter:creator' => [
40  'allowedSubProperties' => [
41  'id' => [],
42  ],
43  ],
44  'twitter:description' => [],
45  'twitter:title' => [],
46  'twitter:image' => [
47  'allowedSubProperties' => [
48  'alt' => [],
49  ],
50  ],
51  'twitter:player' => [
52  'allowedSubProperties' => [
53  'width' => [],
54  'height' => [],
55  'stream' => [],
56  ],
57  ],
58  'twitter:app' => [
59  'allowedSubProperties' => [
60  'name:iphone' => [],
61  'id:iphone' => [],
62  'url:iphone' => [],
63  'name:ipad' => [],
64  'id:ipad' => [],
65  'url:ipad' => [],
66  'name:googleplay' => [],
67  'id:googleplay' => [],
68  'url:googleplay' => [],
69  ],
70  ],
71  ];
72 }
‪TYPO3\CMS\Seo\MetaTag
Definition: MetaTagGenerator.php:18
‪TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager
Definition: TwitterCardMetaTagManager.php:26
‪TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager
Definition: AbstractMetaTagManager.php:21
‪TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager\$handledProperties
‪array $handledProperties
Definition: TwitterCardMetaTagManager.php:31