3.3 Command Line Interface (Console)

Descripción

TYPO3 CD 2020 (zweite Auflage) Test sobre 3.3 Command Line Interface (Console), creado por Pascal Bartl el 09/04/2021.
Pascal Bartl
Test por Pascal Bartl, actualizado hace más de 1 año
Pascal Bartl
Creado por Pascal Bartl hace más de 3 años
6
0

Resumen del Recurso

Pregunta 1

Pregunta
What is required to implement a TYPO3 CLI command? (2)
Respuesta
  • 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

Pregunta 2

Pregunta
How do you implement console commands in a custom TYPO3 extension? (2)
Respuesta
  • 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

Pregunta 3

Pregunta
Which statements about console commands and the TYPO3 Scheduler are correct? (2)
Respuesta
  • 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

Pregunta 4

Pregunta
How do you prevent console commands in your extension from being executed in the Scheduler? (1)
Respuesta
  • 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
Mostrar resumen completo Ocultar resumen completo

Similar

T9. Enfermedades Inflamatorias
Vivi Riquero
Música y Cine. Conceptos básicos
mariajesus camino
Variació Lingüística
Flor Belda
Test de Inglés para la Prepa Abierta 3
Raúl Fox
Causas principales de la Primera Guerra Mundial
crisferroeldeluna
Excel Básico-Intermedio
Diego Santos
LES OBJETS DE LA CLASSE
Florencio Torres Presa
Tipos de personas por la ley Colombiana.
Nicolas Omana
mitosis y meiosis
juan perez
Mapa Conceptual de la arquitectura de base de datos
Alan Alvarado
Elementos que intervienen en el proceso de adquisición del conocimiento
Elias santiago titla