protected function FeedsProcessor::entityInfo in Feeds 8.2
Wrap entity_get_info() into a method so that extending classes can override it and more entity information. Allowed additional keys:
'label plural' ... the plural label of an entity type.
10 calls to FeedsProcessor::entityInfo()
- FeedsNodeProcessor::entityInfo in lib/
Drupal/ feeds/ Plugin/ feeds/ processor/ FeedsNodeProcessor.php - Implements parent::entityInfo().
- FeedsProcessor::clear in lib/
Drupal/ feeds/ Plugin/ FeedsProcessor.php - Remove all stored results or stored results up to a certain time for a source.
- FeedsProcessor::configDefaults in lib/
Drupal/ feeds/ Plugin/ FeedsProcessor.php - Declare default configuration.
- FeedsProcessor::configForm in lib/
Drupal/ feeds/ Plugin/ FeedsProcessor.php - Overrides parent::configForm().
- FeedsProcessor::entityLoad in lib/
Drupal/ feeds/ Plugin/ FeedsProcessor.php - Load an existing entity.
3 methods override FeedsProcessor::entityInfo()
- FeedsNodeProcessor::entityInfo in lib/
Drupal/ feeds/ Plugin/ feeds/ processor/ FeedsNodeProcessor.php - Implements parent::entityInfo().
- FeedsTermProcessor::entityInfo in lib/
Drupal/ feeds/ Plugin/ feeds/ processor/ FeedsTermProcessor.php - Implements parent::entityInfo().
- FeedsUserProcessor::entityInfo in lib/
Drupal/ feeds/ Plugin/ feeds/ processor/ FeedsUserProcessor.php - Implements parent::entityInfo().
File
- lib/
Drupal/ feeds/ Plugin/ FeedsProcessor.php, line 163 - Contains FeedsProcessor and related classes.
Class
- FeedsProcessor
- Abstract class, defines interface for processors.
Namespace
Drupal\feeds\PluginCode
protected function entityInfo() {
return entity_get_info($this
->entityType());
}