MVC and request handling · Question 2 of 12
What must the controller method be called that executes the action list in Extbase?
1 answer is correct. Easy
Show answer
Answer
- B listAction()
Explanation
Extbase recognises actions by naming convention: a **public method with the suffix Action** is an action that can be enabled in a plugin or backend module. So the action name list in configurePlugin() calls the method listAction(). The controller itself lives in Classes/Controller/, extends \, and every action returns a ResponseInterface. A method list() without the suffix would just be a regular helper method that Extbase never calls as an action.