public function FieldManagerInterface::createNewReferenceField in Scheduled Updates 8
Creates a new Entity Reference field that will reference the updates of this type.
Parameters
array $new_field_settings:
\Drupal\scheduled_updates\ScheduledUpdateTypeInterface $update_type:
Return value
mixed
1 method overrides FieldManagerInterface::createNewReferenceField()
- FieldManager::createNewReferenceField in src/
FieldManager.php - Creates a new Entity Reference field that will reference the updates of this type.
File
- src/
FieldManagerInterface.php, line 63 - Contains \Drupal\scheduled_updates\FieldManagerInterface.
Class
- FieldManagerInterface
- Interface for the field manager service.
Namespace
Drupal\scheduled_updatesCode
public function createNewReferenceField(array $new_field_settings, ScheduledUpdateTypeInterface $update_type);