You are here

protected function FeedType::alter in Feeds 8.3

Wrapper around \Drupal\Core\Extension\ModuleHandlerInterface::alter().

Parameters

string|array $type: A string describing the type of the alterable $data or an array if hook_TYPE_alter() needs to be invoked for each value in the array.

mixed $data: The variable to be altered.

See also

\Drupal\Core\Extension\ModuleHandlerInterface::alter()

1 call to FeedType::alter()
FeedType::getMappingSources in src/Entity/FeedType.php
Returns the mapping sources for this feed type.

File

src/Entity/FeedType.php, line 642

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

protected function alter($type, &$data) {
  return \Drupal::moduleHandler()
    ->alter($type, $data, $this);
}