You are here

abstract protected function ContextAwarePluginAssignmentTrait::t in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php \Drupal\Core\Plugin\ContextAwarePluginAssignmentTrait::t()

Ensures the t() method is available.

See also

\Drupal\Core\StringTranslation\StringTranslationTrait

34 calls to ContextAwarePluginAssignmentTrait::t()
AggregatorFeedBlock::blockForm in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php
Returns the configuration form elements specific to this block plugin.
AggregatorFeedBlock::build in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php
Builds and returns the renderable array for this block plugin.
AjaxFormBlock::buildForm in core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php
Form constructor.
AjaxFormBlock::updateOptions in core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php
Updates the options of a select list.
BlockBase::buildConfigurationForm in core/lib/Drupal/Core/Block/BlockBase.php
Creates a generic configuration form for all block types. Individual block plugins can add elements to this form by overriding BlockBase::blockForm(). Most block plugins should not override this method unless they need to alter the generic form elements.

... See full list

File

core/lib/Drupal/Core/Plugin/ContextAwarePluginAssignmentTrait.php, line 20
Contains \Drupal\Core\Plugin\ContextAwarePluginAssignmentTrait.

Class

ContextAwarePluginAssignmentTrait
Handles context assignments for context-aware plugins.

Namespace

Drupal\Core\Plugin

Code

protected abstract function t($string, array $args = array(), array $options = array());