null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
30182900
3.3 Command Line Interface (Console)
Description
TYPO3 CD 2020 (zweite Auflage) Quiz on 3.3 Command Line Interface (Console), created by Pascal Bartl on 09/04/2021.
No tags specified
typo3 cd 2020 (zweite auflage)
Quiz by
Pascal Bartl
, updated more than 1 year ago
More
Less
Created by
Pascal Bartl
almost 4 years ago
6
0
0
Resource summary
Question 1
Question
What is required to implement a TYPO3 CLI command? (2)
Answer
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
Question 2
Question
How do you implement console commands in a custom TYPO3 extension? (2)
Answer
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
Question 3
Question
Which statements about console commands and the TYPO3 Scheduler are correct? (2)
Answer
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
Question 4
Question
How do you prevent console commands in your extension from being executed in the Scheduler? (1)
Answer
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
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
CPU and Memory
LunaLovegood
HSC Maths: Algebra Quiz
Brad Hegarty
CPA Exam Flashcards
joemontin
Ebola Virus Disease
rubyduggan
P4: Explaining motion
thegeekymushroom
Geography - Population
Grace Evans
Of Mice and Men Quotes
_Jess_
Biology B1.3
raffia.khalid99
Relationships in Streetcar
Alanna Pearson
GCSE History – Social Impact of the Nazi State in 1945
Ben C
AS Sociology - Families and Households functionalist perspective.
Camille Bailey
Browse Library