ModalRenderer
class ModalRenderer extends DialogRenderer (View source)
Default main content renderer for modal dialog requests.
Properties
| protected TitleResolverInterface | $titleResolver | The title resolver. |
from DialogRenderer |
| protected RendererInterface | $renderer | The renderer. |
from DialogRenderer |
Methods
__construct(TitleResolverInterface $title_resolver, RendererInterface $renderer = NULL)
Constructs a new DialogRenderer.
from
DialogRenderer
Response
renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match)
Renders the main content render array into a response.
string
determineTargetSelector(array $options, RouteMatchInterface $route_match)
Determine the target selector for the OpenDialogCommand.
from
DialogRenderer
Details
__construct(TitleResolverInterface $title_resolver, RendererInterface $renderer = NULL)
Constructs a new DialogRenderer.
Response
renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match)
Renders the main content render array into a response.
protected string
determineTargetSelector(array $options, RouteMatchInterface $route_match)
Determine the target selector for the OpenDialogCommand.