EntityShareHeader.php in Entity Share 8.3
File
modules/entity_share_client/src/Plugin/KeyType/EntityShareHeader.phpView source
<?php
declare (strict_types=1);
namespace Drupal\entity_share_client\Plugin\KeyType;
use Drupal\key\Plugin\KeyType\AuthenticationMultivalueKeyType;
/**
* Key module plugin to define a header credentials KeyType.
*
* @KeyType(
* id = "entity_share_header",
* label = @Translation("Entity Share Header"),
* description = @Translation("A key type to store Header data for the Entity Share module. Store as JSON:<br><pre>{<br>"header_name": "header name",<br>"header_value": "header value"<br>}</pre>"),
* group = "authentication",
* key_value = {
* "plugin" = "textarea_field"
* },
* multivalue = {
* "enabled" = true,
* "fields" = {
* "header_name" = @Translation("Header name"),
* "header_value" = @Translation("Header value")
* }
* }
* )
*/
class EntityShareHeader extends AuthenticationMultivalueKeyType {
}
Classes
Name | Description |
---|---|
EntityShareHeader | Key module plugin to define a header credentials KeyType. |