Acquia Developer (D10) flashcards
Acquia Developer (D10) · Build recall with a focused review session.
32 cards. Read the term and the definition here. The deck at the top of this page is optional.
- Content vs config entity
- Content entities store user data in database tables and support fields and revisions; config entities store site configuration as YAML and are exported and imported between environments.
- Bundle
- A bundle is a subtype of a content entity type, such as a content type for nodes or a vocabulary for terms; fields are attached per bundle.
- Node access grant
- A row in the node_access table granting a node to a realm and gid; modules add realms via hook_node_grants and write grants on save.
- View display
- A display defines how a view outputs: page with a path, block placed in a region, or embed; caching and access are configured per display.
- Path alias entity
- The path_alias entity maps a system path to a user-facing alias; Pathauto generates aliases from patterns and Redirect handles old paths.
- Content moderation state
- A moderation workflow assigns states such as Draft or Published to revisions; transitions are permissioned and the state is stored on the entity.
- Module info file
- A .info.yml file declaring name, type module, core_version_requirement, dependencies, and optionally a configure route; it is required for discovery.
- Theme library
- A libraries.yml entry listing CSS and JS assets with dependencies and optional per-route attachment; themes and modules attach libraries to render arrays.
- hook_theme variables
- The declaration of a theme hook's variables; only declared variables plus those added in preprocess are available to the Twig template.
- Twig autoescape
- Twig escapes output by default for HTML context; the raw filter disables escaping and must only be used on trusted, sanitized markup.
- Form alter hook
- hook_form_alter and hook_form_FORM_ID_alter let modules modify form structure and add validate or submit handlers before rendering.
- Service injection
- Classes declare dependencies in a services.yml file and receive them through a create() factory or autowiring; container access in classes is discouraged.
- Plugin derivative
- A derivative class generates plugin definitions dynamically from one base plugin, producing IDs like the base ID plus a colon and suffix.
- Entity query access check
- Entity queries enforce access by default and require accessCheck() to be called explicitly; passing FALSE skips it and should follow prior verification.
- Field storage vs instance
- field_storage_config defines a field's type and cardinality across bundles; field_config defines the bundle-specific instance and its display settings.
- hook_update_N
- A numbered update function in a module's .install file that runs during drush updb; numbers must increase and never be reused.
- Computed field
- A field whose value is calculated at runtime rather than stored; it implements ComputedItemListTrait and appears in entity field lists.
- Config schema
- A YAML file in config/schema describing config structure and types; it enables validation, translation, and typed config access.
- Queue worker plugin
- A plugin that processes items from a queue; the queue worker manager claims items during cron and releases them after the lease time.
- Cache contexts
- Contexts declare what cached output varies by, such as user.roles or url.path; the cache key includes all contexts in the render tree.
- Cache tags
- Tags identify data a cached item depends on, like node:5; invalidating a tag removes all cache entries carrying it across bins.
- Dynamic Page Cache
- A response cache that stores rendered pages for both anonymous and authenticated users, varying by cache contexts and invalidated by tags.
- Internal Page Cache
- A response cache serving only anonymous requests; it sits before the dynamic page cache and is bypassed for authenticated sessions.
- BigPipe
- A strategy that flushes the page early with placeholders and streams the remaining cacheable fragments, improving perceived load time.
- CSRF token route
- A route option _csrf_token adds a token requirement checked per session; forms additionally include form_token and form_build_id fields.
- Trusted host patterns
- A settings.php array of allowed hostname patterns; requests with unmatched Host headers are rejected to prevent host header injection.
- Acquia Cloud Hooks
- Scripts in the hooks directory, such as post-code-deploy, that run on platform events; they must be idempotent and log their output.
- Config split
- A module that separates configuration by environment, keeping environment-specific config out of the shared export and active only where enabled.
- Acquia Cloud IDE
- A containerized development environment with the application code and services; commits push to the platform Git remote for deployment.
- Acquia Search
- A hosted search service replacing the core search backend; the connector module configures the index, and indexes rebuild after configuration changes.
- Varnish purge
- Acquia's Varnish layer caches pages in front of the web tier; purge configuration invalidates cached objects when Drupal cache tags are cleared.
- Acquia pipeline
- A sequence of build and deploy stages on Cloud Platform; stages can be automated or require manual approval before code reaches production.