Method | Description | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\API\SiteRelations $site_relations, Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository $post_repository ) | Constructor. Sets up the properties. | |
render ( mixed $object, array $instance ) : void | Renders the widget's view. |
public __construct ( Inpsyde\MultilingualPress\API\SiteRelations $site_relations, Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository $post_repository ) | ||
$site_relations | Inpsyde\MultilingualPress\API\SiteRelations | Site relations API object. |
$post_repository | Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository | Untranslated posts repository object. |