EntitySaveCommand
final class EntitySaveCommand extends Command (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Constants
NAME |
|
Methods
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
from
AutowireTrait
__construct(EntityTypeManagerInterface $entityTypeManager, TimeInterface $time, AccountInterface $currentUser)
No description
void
configure()
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
void
doSave(string $entity_type, array $ids, string|null $action, string|null $state)
Actual save method.
QueryInterface
getQuery(string $entity_type, string|null $ids, array $options)
No description
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
__construct(EntityTypeManagerInterface $entityTypeManager, TimeInterface $time, AccountInterface $currentUser)
No description
protected void
configure()
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
void
doSave(string $entity_type, array $ids, string|null $action, string|null $state)
Actual save method.
protected QueryInterface
getQuery(string $entity_type, string|null $ids, array $options)
No description