Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ai
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ai
Merge requests
!518
Resolve
#3505053
"Create views automators"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Resolve
#3505053
"Create views automators"
issue/ai-3505053:3505053-create-views-automators
into
1.1.x
Overview
0
Commits
1
Pipelines
1
Changes
2
Open
Marcus Johansson
requested to merge
issue/ai-3505053:3505053-create-views-automators
into
1.1.x
2 months ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
Closes
#3505053
0
0
Merge request reports
Compare
1.1.x
1.1.x (HEAD)
and
latest version
latest version
0871dda9
1 commit,
2 months ago
2 files
+
312
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
modules/ai_automators/src/Plugin/AiAutomatorType/ViewsExtractor.php
0 → 100644
+
26
−
0
Options
<?php
namespace
Drupal\ai_automators\Plugin\AiAutomatorType
;
use
Drupal\Core\StringTranslation\TranslatableMarkup
;
use
Drupal\ai_automators
\Attribute\AiAutomatorType
;
use
Drupal\ai_automators
\PluginBaseClasses\ViewsToText
;
use
Drupal\ai_automators
\PluginInterfaces\AiAutomatorTypeInterface
;
/**
* Views extraction automator.
*/
#
[
AiAutomatorType
(
id
:
'vector_search_text_long'
,
label
:
new
TranslatableMarkup
(
'Views: Text'
),
field_rule
:
'string_long'
,
target
:
''
,
)]
class
ViewsExtractor
extends
ViewsToText
implements
AiAutomatorTypeInterface
{
/**
* {@inheritDoc}
*/
public
$title
=
'Views: Text'
;
}
Loading