class SystemCompactLink Provides a link to show or hide help text on administration pages. Usage example: $form['system_compact_link'] = [
  '#type' => 'system_compact_link',
];

Plugin annotation @RenderElement("system_compact_link")
 Hierarchy 
class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTrait
class \Drupal\Core\Render\Element\RenderElement implements ElementInterface
class \Drupal\Core\Render\Element\Link
class \Drupal\Core\Render\Element\SystemCompactLink
 
 
 
 
 
File
 core/lib/Drupal/Core/Render/Element/SystemCompactLink.php, line 20  Namespace Drupal\Core\Render\Element Members     Name   Modifiers   Type   Description       DependencySerializationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069$_serviceIds   protected   property   An array of service IDs keyed by property name used for serialization.     DependencySerializationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069__sleep   public   function       DependencySerializationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069__wakeup   public   function       Link8b7c:f320:99b9:690f:4595:cd17:293a:c069preRenderLink   public static   function   Pre-render callback: Renders a link into #markup.     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069$configuration   protected   property   Configuration information passed into the plugin.     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069$pluginDefinition   protected   property   The plugin implementation definition.     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069$pluginId   protected   property   The plugin_id.     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069DERIVATIVE_SEPARATOR     constant   A string which is used to separate base plugin IDs from the derivative ID.     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069getBaseId   public   function   Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getBaseId     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069getDerivativeId   public   function   Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getDerivativeId     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069getPluginDefinition   public   function   Gets the definition of the plugin implementation. Overrides PluginInspectionInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getPluginDefinition     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069getPluginId   public   function   Gets the plugin_id of the plugin instance. Overrides PluginInspectionInter8b7c:f320:99b9:690f:4595:cd17:293a:c069getPluginId     PluginBas8b7c:f320:99b9:690f:4595:cd17:293a:c069__construct   public   function   Constructs a Drupal\Component\Plugin\PluginBase object.     RenderElement8b7c:f320:99b9:690f:4595:cd17:293a:c069preRenderAjaxForm   public static   function   Adds Ajax information about an element to communicate with JavaScript.     RenderElement8b7c:f320:99b9:690f:4595:cd17:293a:c069preRenderGroup   public static   function   Adds members of this group as actual elements for rendering.     RenderElement8b7c:f320:99b9:690f:4595:cd17:293a:c069processAjaxForm   public static   function   Form element processing handler for the #ajax form property.     RenderElement8b7c:f320:99b9:690f:4595:cd17:293a:c069processGroup   public static   function   Arranges elements into groups.     RenderElement8b7c:f320:99b9:690f:4595:cd17:293a:c069setAttributes   public static   function   Sets a form element's class attribute. Overrides ElementInter8b7c:f320:99b9:690f:4595:cd17:293a:c069setAttributes     StringTranslationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069$stringTranslation   protected   property   The string translation service.     StringTranslationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069ormatPlural   protected   function   Formats a string containing a count of items.     StringTranslationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069getNumberOfPlurals   protected   function   Returns the number of plurals supported by a given language.     StringTranslationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069getStringTranslation   protected   function   Gets the string translation service.     StringTranslationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069setStringTranslation   public   function   Sets the string translation service to use.     StringTranslationTrait8b7c:f320:99b9:690f:4595:cd17:293a:c069t   protected   function   Translates a string to the current language or to a given language.     SystemCompactLink8b7c:f320:99b9:690f:4595:cd17:293a:c069getInfo   public   function   Returns the element properties for this element. Overrides Link8b7c:f320:99b9:690f:4595:cd17:293a:c069getInfo     SystemCompactLink8b7c:f320:99b9:690f:4595:cd17:293a:c069preRenderCompactLink   public static   function   Pre-render callback: Renders a link into #markup.    

    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-render-element-systemcompactlink.php/class/systemcompactlink/8.1.x.html', 'source': 'DevDocs.IO'}