Commit ed67e4c0 authored by yo30's avatar yo30 Committed by boshtian

Issue #2937815 by yo30, nkoporec: Mention context_ui submodule in README.md

parent a9885e2e
# Context
The context module lets you define conditions for when certain reactions should take place.
The context module lets you define conditions for when certain reactions
should take place.
An example of a condition could be when viewing a certain node type and blocks should be placed as a reaction when viewing a page with this node type.
An example of a condition could be when viewing a certain node type and blocks
should be placed as a reaction when viewing a page with this node type.
###Good resources
......@@ -10,14 +12,30 @@ An example of a condition could be when viewing a certain node type and blocks s
Conditions
---
Context for Drupal 8 uses the built in condition plugins supplied by Drupal through the [Plugin API](https://www.drupal.org/developing/api/8/plugins). So any conditional plug-ins supplied by other modules can also be used with context.
Context for Drupal 8 uses the built in condition plugins supplied by Drupal
through the [Plugin API](https://www.drupal.org/developing/api/8/plugins).
So any conditional plug-ins supplied by other modules can also be used with context.
Reactions
---
Reactions for the context module are defined trough the new Drupal 8
[Plugin API](https://www.drupal.org/developing/api/8/plugins).
The context module defines a plugin type named Context Reaction that you can
extend when creating your own plugins.
Reactions for the context module are defined trough the new Drupal 8 [Plugin API](https://www.drupal.org/developing/api/8/plugins).
A context reaction requires a configuration form and execute method. The
execution of the plugin is also something that will have to be handled by the author of the reaction.
The context module defines a plugin type named Context Reaction that you can extend when creating your own plugins.
Installation
---
Context can be installed like any other Drupal module -- place it in
the modules directory for your site and enable it (and its requirement,
CTools) on the `admin/modules` page.
A context reaction requires a configuration form and execute method. The execution of the plugin is also something that will have to be handled by the author of the reaction.
\ No newline at end of file
You will probably also want to install Context UI which provides a way for
you to edit contexts through the Drupal admin interface.
Configuration
---
The path for configuration page is: admin/structure/context
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment