Skip to content
Snippets Groups Projects

Resolve #3490037 "Min drupal 10.3"

Compare and Show latest version
16 files
+ 145
89
Compare changes
  • Side-by-side
  • Inline
Files
16
+ 29
0
<?php
declare(strict_types=1);
namespace Drupal\private_message\Attribute;
use Drupal\Component\Plugin\Attribute\Plugin;
use Drupal\Core\StringTranslation\TranslatableMarkup;
/**
* The private message configuration form plugin attribute.
*/
#[\Attribute(\Attribute::TARGET_CLASS)]
class PrivateMessageConfigForm extends Plugin {
/**
* Constructs a PrivateMessageConfigForm attribute.
*
* @param string $id
* The plugin ID.
* @param \Drupal\Core\StringTranslation\TranslatableMarkup $name
* The name of the form plugin.
*/
public function __construct(
public readonly string $id,
public readonly TranslatableMarkup $name,
) {}
}
Loading