CoreFiles by mySites.guru
FieldsServiceTrait.php36 lines, 721 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
38fa31631cc8a27495233903978cd047
sha1
027fdf5cace1d99db04926b5ec64d25ddc700d87
sha256
f4ff5e03aef047057b0b58a62a30bfc8b61604262327b37f83efc0d0dafaf027
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2024 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Fields;

use Joomla\CMS\Form\Form;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Trait for component fields service.
 *
 * @since  5.1.0
 */
trait FieldsServiceTrait
{
    /**
     * Prepares the fields form
     *
     * @param   Form          $form  The form to change
     * @param   array|object  $data  The form data
     *
     * @return void
     */
    public function prepareForm(Form $form, $data)
    {
    }
}

The same content is in 133 releases, Joomla 5.1.0-beta1 to 6.2.1-rc1. See them all, or every version of this file.