protected function FpmTestBase::generatePluginDefinitions in Feeds Paragraphs 8
Generates plugin definitions array (text plugin for now).
Return value
array
1 call to FpmTestBase::generatePluginDefinitions()
- FpmTestBase::getPluginManagerMock in tests/
src/ Unit/ FpmTestBase.php - Creates FeedsPluginManager instance.
File
- tests/
src/ Unit/ FpmTestBase.php, line 263
Class
Namespace
Drupal\Tests\feeds_para_mapper\UnitCode
protected function generatePluginDefinitions() {
$definitions = array(
'text' => array(
'id' => 'text',
'field_types' => array(
'text',
'text_long',
'text_with_summary',
),
'arguments' => array(
'@current_user',
),
'class' => 'Drupal\\feeds\\Feeds\\Target\\Text',
'provider' => 'feeds',
'plugin_type' => 'target',
'form' => array(
'configuration' => 'Drupal\\feeds\\Feeds\\Target\\Text',
),
),
);
return $definitions;
}