* @git Joomla Component Builder * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\Layout\LayoutHelper; use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper; // No direct access to this file defined('JPATH_BASE') or die; // Extract all keys from $displayData as individual variables. extract($displayData ?? []); // The 'id' parameter, defaulting to mastodon-feed. $id ??= 'mastodon-feed'; // The button 'id' parameter, defaulting to refresh-feed. $button_id ??= 'refresh-feed'; // The mastodon instance URL $instance ??= 'https://joomla.social'; // The user account ID $account ??= '112766899254600077'; // The number of post to load $posts ??= 5; // The 'invite_url' parameter, defaulting to https://joomla.social/invite/gzAvC48K. $invite_url ??= 'https://joomla.social/invite/gzAvC48K'; // The 'invite_heading' parameter. $invite_heading ??= Text::_("COM_COMPONENTBUILDER_LLEWELLYNS_JOOMLA_SOCIAL_FEED"); // The 'invite_title' parameter. $invite_title ??= Text::_("COM_COMPONENTBUILDER_JOIN_JCBS_LEAD_DEVELOPER_ON_JOOMLA_SOCIAL_A_MASTODON_INSTANCE"); ?>