Page output · Question 12 of 12

How does an extension ship its own CSP rules?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • C Via Configuration/ContentSecurityPolicies.php, which returns a map of Scope (frontend or backend) to MutationCollection objects

Explanation

Every mutation names mode, directive and sources; the scope is mandatory, so a rule never applies automatically to frontend and backend at once.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications