You are here

static function RealisticDummyContent::realistic_dummy_content_api_class in Realistic Dummy Content 8

Implements hook_realistic_dummy_content_api_class().

1 call to RealisticDummyContent::realistic_dummy_content_api_class()
realistic_dummy_content_api_realistic_dummy_content_api_class in api/realistic_dummy_content_api.module
Implements hook_realistic_dummy_content_api_class().

File

api/src/facade/RealisticDummyContent.php, line 146
Define autoload class.

Class

RealisticDummyContent

Namespace

Drupal\realistic_dummy_content_api\facade

Code

static function realistic_dummy_content_api_class($entity, $type) {
  return array(
    // Insert class names for all classes which can modify entities for the
    // given type. These classes must exist, either through Drupal's
    // autoload system or be included explictely, and they must be
    // subclasses of Base
    '\\Drupal\\realistic_dummy_content_api\\manipulators\\FieldModifier',
  );
}