Drupal\helper\Plugin\Block\NodeField
Provides a block that renders a node field.
Implements:
Drupal\Component\Plugin\DerivativeInspectionInterface, Drupal\Component\Plugin\PluginInspectionInterface, Drupal\Core\Block\BlockPluginInterface, Drupal\Core\Plugin\PluginWithFormsInterface, Drupal\Core\Plugin\PreviewAwarePluginInterface, Drupal\Core\Render\PreviewFallbackInterface, Drupal\Core\Plugin\ContextAwarePluginInterface, Drupal\Core\Cache\CacheableDependencyInterface, Drupal\Core\Plugin\PluginFormInterface, Drupal\Component\Plugin\DependentPluginInterface, Drupal\Component\Plugin\ConfigurableInterface, Drupal\Component\Plugin\ContextAwarePluginInterface, Drupal\Core\Plugin\ContainerFactoryPluginInterface
Extend:
Drupal\Core\Block\BlockBase
Methods
| Name | Description |
|---|---|
Inherited methods
| Name | Description |
|---|---|
| __construct | {@inheritdoc} |
| __sleep | {@inheritdoc} |
| __wakeup | {@inheritdoc} |
| access | {@inheritdoc} |
| blockForm | {@inheritdoc} |
| blockSubmit | {@inheritdoc} |
| blockValidate | {@inheritdoc} |
| build | Builds and returns the renderable array for this block plugin. |
| buildConfigurationForm | {@inheritdoc} |
| calculateDependencies | {@inheritdoc} |
| create | Instantiates a new instance of the implementing class using autowiring. |
| createInstanceAutowired | Instantiates a new instance of the implementing class using autowiring. |
| createPlaceholder | {@inheritdoc} |
| defaultConfiguration | {@inheritdoc} |
| getBaseId | {@inheritdoc} |
| getCacheContexts | {@inheritdoc} |
| getCacheMaxAge | {@inheritdoc} |
| getCacheTags | {@inheritdoc} |
| getConfiguration | {@inheritdoc} |
| getContext | {@inheritdoc} |
| getContextDefinition | {@inheritdoc} |
| getContextDefinitions | {@inheritdoc} |
| getContextMapping | {@inheritdoc} |
| getContextValue | {@inheritdoc} |
| getContextValues | {@inheritdoc} |
| getContexts | {@inheritdoc} |
| getDerivativeId | {@inheritdoc} |
| getFormClass | Implements \Drupal\Core\Plugin\PluginWithFormsInterface::getFormClass(). |
| getMachineNameSuggestion | {@inheritdoc} |
| getPluginDefinition | {@inheritdoc} |
| getPluginId | {@inheritdoc} |
| getPreviewFallbackString | {@inheritdoc} |
| hasFormClass | Implements \Drupal\Core\Plugin\PluginWithFormsInterface::hasFormClass(). |
| isConfigurable | Determines if the plugin is configurable. |
| label | {@inheritdoc} |
| messenger | Gets the messenger. |
| setConfiguration | {@inheritdoc} |
| setConfigurationValue | {@inheritdoc} |
| setContext | {@inheritdoc} |
| setContextMapping | {@inheritdoc} |
| setContextValue | {@inheritdoc} |
| setInPreview | {@inheritdoc} |
| setMessenger | Sets the messenger. |
| setStringTranslation | Sets the string translation service to use. |
| setTransliteration | Sets the transliteration service. |
| submitConfigurationForm | {@inheritdoc} |
| traitBuildConfigurationForm | {@inheritdoc} |
| traitSubmitConfigurationForm | {@inheritdoc} |
| validateConfigurationForm | {@inheritdoc} |
| validateContexts | {@inheritdoc} |