3.3 Command Line Interface (Console)

Descrição

TYPO3 CD 2020 (zweite Auflage) Quiz sobre 3.3 Command Line Interface (Console), criado por Pascal Bartl em 09-04-2021.
Pascal Bartl
Quiz por Pascal Bartl, atualizado more than 1 year ago
Pascal Bartl
Criado por Pascal Bartl mais de 3 anos atrás
6
0

Resumo de Recurso

Questão 1

Questão
What is required to implement a TYPO3 CLI command? (2)
Responda
  • A CommandController must be registered in the file ext_localconf.php
  • A Symfony Command needs to be registered in the file Configuration/Commands.php
  • The system extension EXT:console must be enabled
  • TYPO3 must be installed using composer
  • The class should extend Symfony\Component\Console\Command\Command

Questão 2

Questão
How do you implement console commands in a custom TYPO3 extension? (2)
Responda
  • No existing packages or APIs are available. CLI commands need to be implemented from scratch
  • By using the Symfony Console that is shipped with the TYPO3 core by default
  • By using the Drupal Command Controller that is shipped with the TYPO3 core by default.
  • The file Configuration/Commands.php needs to be added to the extension
  • By setting the property cli in file composer.json

Questão 3

Questão
Which statements about console commands and the TYPO3 Scheduler are correct? (2)
Responda
  • Console commands are only available in the Scheduler if the TYPO3 instance has been set up using Composer
  • Integrators can set arguments in the Scheduler that are passed to the console command
  • Integrators can set options in the Scheduler that are passed to the console command
  • You can configure if a console command is executable via the Scheduler or not

Questão 4

Questão
How do you prevent console commands in your extension from being executed in the Scheduler? (1)
Responda
  • By adding the annotation @notschedulable to the command class
  • By setting the property schedulable to false in the command class
  • By setting the flag schedulable to false in the file Configuration/Commands.php
  • By setting the flag schedulable to false in the TCA file scheduler.php

Semelhante

GRAMATICA
santosfilipe123
Quimica Inorganica
jaaziel.telles
Exame Nacional de Português - 12° ano
Felipe Perreira
Gerenciamento de Projetos
Luiz Fernando
Música
Philosophus Rex
Resumo global da matéria de Biologia e Geologia (10.º e 11.º anos)_2
ana-carolina12re
FCE Practice Quiz - B2
titaleoni
Sistema Circulátorio
Daniela Barreto3004
SISTEMA ENDÓCRINO
STELA FAUSTINO