Version 1
[yaffs-website] / web / core / modules / system / tests / modules / plugin_test / src / Plugin / plugin_test / mock_block / TypedDataStringBlock.php
1 <?php
2
3 namespace Drupal\plugin_test\Plugin\plugin_test\mock_block;
4
5 use Drupal\Core\Plugin\ContextAwarePluginBase;
6
7 /**
8  * Implementation of a String TypedData contextual block plugin used by Plugin
9  * API context test.
10  *
11  * @see \Drupal\plugin_test\Plugin\MockBlockManager
12  */
13 class TypedDataStringBlock extends ContextAwarePluginBase {
14
15   public function getTitle() {
16     return $this->getContextValue('string');
17   }
18
19 }