deepseek-1.x-dev/src/Plugin/Action/AiTermEmbedding.php
src/Plugin/Action/AiTermEmbedding.php
<?php
namespace Drupal\deepseek\Plugin\Action;
use Drupal\Core\Action\Attribute\Action;
use Drupal\Core\StringTranslation\TranslatableMarkup;
/**
* Provides an AI Embedding action.
*
* @DCG
* For updating entity fields consider extending FieldUpdateActionBase.
* @see \Drupal\Core\Field\FieldUpdateActionBase
*
* @DCG
* In order to set up the action through admin interface the plugin has to be
* configurable.
* @see https://www.drupal.org/project/drupal/issues/2815301
* @see https://www.drupal.org/project/drupal/issues/2815297
*
* @DCG
* The whole action API is subject of change.
* @see https://www.drupal.org/project/drupal/issues/2011038
*/
#[Action(
id: 'ai_term_embedding',
label: new TranslatableMarkup('AI Embedding'),
category: new TranslatableMarkup('AI'),
type: 'taxonomy_term',
)]
class AiTermEmbedding extends AiNodeEmbedding {
}
