public function KeyTypeMultivalueInterface::serialize in Key 8
Serialize an array of key values into a string.
Parameters
array $array: An array of key values.
Return value
string A serialized string of key values.
2 methods override KeyTypeMultivalueInterface::serialize()
- AuthenticationMultivalueKeyType::serialize in src/
Plugin/ KeyType/ AuthenticationMultivalueKeyType.php - Serialize an array of key values into a string.
- MultiValueKeyType::serialize in tests/
modules/ key_test/ src/ Plugin/ KeyType/ MultiValueKeyType.php - Serialize an array of key values into a string.
File
- src/
Plugin/ KeyTypeMultivalueInterface.php, line 19
Class
- KeyTypeMultivalueInterface
- Provides an interface for Key Type plugins that support multivalue keys.
Namespace
Drupal\key\PluginCode
public function serialize(array $array);