An exception for terminatinating execution or to throw for unit testing.
Keeps the state of a view in a simple stringly type key-value store.
Build controls for the view.
The URLBuilder allows views to get links that are used somewhere inline in the content.
A kiosk mode view on a certain object.
updateGet(State $state, string $command, int $parameter=null)
Update the state based on the provided command.
buildInitialState(State $empty_state)
Build an initial state based on the Provided empty state.
buildControls(State $state, ControlBuilder $builder)
Construct the controls for the view based on the current state.
render(State $state, UI\Factory $factory, URLBuilder $url_builder, array $post=null)
Render a state using the ui-factory and URLs from the builder.
updatePost(State $state, string $command, array $post)
Update the state and the object based on the provided command and post-data.
A component is the most general form of an entity in the UI.